//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // template // class codecvt_utf8_utf16 // : public codecvt // { // // unspecified // }; // int encoding() const throw(); #include #include int main() { { typedef std::codecvt_utf8_utf16 C; C c; int r = c.encoding(); assert(r == 0); } { typedef std::codecvt_utf8_utf16 C; C c; int r = c.encoding(); assert(r == 0); } { typedef std::codecvt_utf8_utf16 C; C c; int r = c.encoding(); assert(r == 0); } }