Change a bunch of comments from C++1z to C++17. NFC
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@317212 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -56,7 +56,7 @@ void test_libcxx_macros()
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ===== C++1z features =====
|
// ===== C++17 features =====
|
||||||
}
|
}
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// template<cReturnable S, ClassType T>
|
// template<cReturnable S, ClassType T>
|
||||||
// const_mem_fun_t<S,T>
|
// const_mem_fun_t<S,T>
|
||||||
// mem_fun(S (T::*f)() const);
|
// mem_fun(S (T::*f)() const);
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// template<Returnable S, ClassType T, CopyConstructible A>
|
// template<Returnable S, ClassType T, CopyConstructible A>
|
||||||
// const_mem_fun1_t<S,T,A>
|
// const_mem_fun1_t<S,T,A>
|
||||||
// mem_fun(S (T::*f)(A) const);
|
// mem_fun(S (T::*f)(A) const);
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// const_mem_fun1_ref_t
|
// const_mem_fun1_ref_t
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// const_mem_fun1_t
|
// const_mem_fun1_t
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// template<Returnable S, ClassType T>
|
// template<Returnable S, ClassType T>
|
||||||
// const_mem_fun_ref_t<S,T>
|
// const_mem_fun_ref_t<S,T>
|
||||||
// mem_fun_ref(S (T::*f)() const);
|
// mem_fun_ref(S (T::*f)() const);
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// template<Returnable S, ClassType T, CopyConstructible A>
|
// template<Returnable S, ClassType T, CopyConstructible A>
|
||||||
// const_mem_fun1_ref_t<S,T,A>
|
// const_mem_fun1_ref_t<S,T,A>
|
||||||
// mem_fun_ref(S (T::*f)(A) const);
|
// mem_fun_ref(S (T::*f)(A) const);
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// const_mem_fun_ref_t
|
// const_mem_fun_ref_t
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// const_mem_fun_t
|
// const_mem_fun_t
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// template<Returnable S, ClassType T>
|
// template<Returnable S, ClassType T>
|
||||||
// mem_fun_t<S,T>
|
// mem_fun_t<S,T>
|
||||||
// mem_fun(S (T::*f)());
|
// mem_fun(S (T::*f)());
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// template<Returnable S, ClassType T, CopyConstructible A>
|
// template<Returnable S, ClassType T, CopyConstructible A>
|
||||||
// mem_fun1_t<S,T,A>
|
// mem_fun1_t<S,T,A>
|
||||||
// mem_fun(S (T::*f)(A));
|
// mem_fun(S (T::*f)(A));
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// mem_fun1_ref_t
|
// mem_fun1_ref_t
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// mem_fun1_t
|
// mem_fun1_t
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// template<Returnable S, ClassType T>
|
// template<Returnable S, ClassType T>
|
||||||
// mem_fun_ref_t<S,T>
|
// mem_fun_ref_t<S,T>
|
||||||
// mem_fun_ref(S (T::*f)());
|
// mem_fun_ref(S (T::*f)());
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
// template<Returnable S, ClassType T, CopyConstructible A>
|
// template<Returnable S, ClassType T, CopyConstructible A>
|
||||||
// mem_fun1_ref_t<S,T,A>
|
// mem_fun1_ref_t<S,T,A>
|
||||||
// mem_fun_ref(S (T::*f)(A));
|
// mem_fun_ref(S (T::*f)(A));
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// mem_fun_ref_t
|
// mem_fun_ref_t
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
// <functional>
|
// <functional>
|
||||||
|
|
||||||
// mem_fun_t
|
// mem_fun_t
|
||||||
// Removed in c++1z
|
// Removed in c++17
|
||||||
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
// UNSUPPORTED: c++98, c++03, c++11, c++14
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
Reference in New Issue
Block a user