We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aca8fdc commit 54886efCopy full SHA for 54886ef
2 files changed
cpp/autosar/test/rules/A0-1-2/test.cpp
@@ -17,4 +17,5 @@ void test_return_val() {
17
A a2;
18
a1 + a2; // COMPLIANT - `+` is a call to operator+, but is permitted by the
19
// rule
20
-}
+ int y = (int)3;
21
+}
cpp/common/test/includes/standard-library/tuple.h
@@ -1,4 +1,11 @@
1
namespace std {
2
template <class... Types> class tuple {};
3
template <class... Types> std::tuple<Types...> make_tuple(Types &&...args);
4
-} // namespace std
+// TODO change this to example from cpp standard
5
+struct ignore_t {
6
+ template <typename T>
7
+ constexpr // required since C++14
8
+ void operator=(T&&) const noexcept {}
9
+};
10
+inline constexpr std::ignore_t ignore; // 'const' only until C++17
11
+} // namespace std
0 commit comments