Mark assign to be constepr only in c++14; can't have constexpr fns that return void in C++11

llvm-svn: 210562
This commit is contained in:
Marshall Clow 2014-06-10 18:52:57 +00:00
parent 9b0af34d96
commit d0817f526c
1 changed files with 1 additions and 1 deletions

View File

@ -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