Author: marshall
Date: Tue Jun 10 13:52:57 2014
New Revision: 210562
URL: http://llvm.org/viewvc/llvm-project?rev=210562&view=rev
Log:
Mark assign to be constepr only in c++14; can't have constexpr fns that return
void in C++11
Modified:
libcxx/trunk/test/support/constexpr_char_traits.hpp
Modified: libcxx/trunk/test/support/constexpr_char_traits.hpp
URL:
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/support/constexpr_char_traits.hpp?rev=210562&r1=210561&r2=210562&view=diff
==============================================================================
--- libcxx/trunk/test/support/constexpr_char_traits.hpp (original)
+++ libcxx/trunk/test/support/constexpr_char_traits.hpp Tue Jun 10 13:52:57 2014
@@ -24,7 +24,7 @@ struct constexpr_char_traits
typedef std::streampos pos_type;
typedef std::mbstate_t state_type;
- static _LIBCPP_CONSTEXPR void assign(char_type& __c1, const char_type&
__c2) _NOEXCEPT
+ static _LIBCPP_CONSTEXPR_AFTER_CXX11 void assign(char_type& __c1, const
char_type& __c2) _NOEXCEPT
{__c1 = __c2;}
static _LIBCPP_CONSTEXPR bool eq(char_type __c1, char_type __c2) _NOEXCEPT
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits