Skip to content

Commit 8c6c581

Browse files
committed
update tuple.h
as discussed with @rvermeulen
1 parent 84176bc commit 8c6c581

File tree

1 file changed

+1
-2
lines changed
  • cpp/common/test/includes/standard-library

1 file changed

+1
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
namespace std {
22
template <class... Types> class tuple {};
33
template <class... Types> std::tuple<Types...> make_tuple(Types &&...args);
4-
// TODO change this to example from cpp standard
54
struct ignore_t {
65
template <typename T>
76
constexpr // required since C++14
87
void
98
operator=(T &&) const noexcept {}
109
};
11-
inline constexpr std::ignore_t ignore; // 'const' only until C++17
10+
inline const std::ignore_t ignore; // 'const' only until C++17
1211
} // namespace std

0 commit comments

Comments
 (0)