1 //===----------------------------------------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
12 // template<> struct char_traits<char>
14 // static constexpr char_type to_char_type(int_type c);
21 assert(std::char_traits<char>::to_char_type('a') == 'a');
22 assert(std::char_traits<char>::to_char_type('A') == 'A');
23 assert(std::char_traits<char>::to_char_type(0) == 0);