Definition at line 458 of file codecvt_test.cpp.
◆ my_codecvt()
my_codecvt::my_codecvt |
( |
size_t |
r = 0 | ) |
|
|
inlineexplicit |
Definition at line 460 of file codecvt_test.cpp.
std::codecvt< wchar_t, char, mbstate_t > my_codecvt_base
GLdouble GLdouble GLdouble r
◆ do_always_noconv()
virtual bool my_codecvt::do_always_noconv |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ do_encoding()
virtual int my_codecvt::do_encoding |
( |
| ) |
const |
|
inlineprotectedvirtual |
◆ do_in()
virtual result my_codecvt::do_in |
( |
state_type & |
, |
|
|
const extern_type * |
first1, |
|
|
const extern_type * |
last1, |
|
|
const extern_type *& |
next1, |
|
|
intern_type * |
first2, |
|
|
intern_type * |
last2, |
|
|
intern_type *& |
next2 |
|
) |
| const |
|
inlineprotectedvirtual |
Definition at line 464 of file codecvt_test.cpp.
467 {
468 for ( next1 = first1, next2 = first2; next1 < last1; next1 += 2 ) {
469 if ( (last1 - next1) < 2 || (last2 - next2) < 1 )
470 return partial;
471 *next2++ = (intern_type)((*(next1 + 1) << 8) | (*next1 & 255));
472 }
474 }
◆ do_max_length()
virtual int my_codecvt::do_max_length |
( |
| ) |
const |
|
inlineprotectedvirtual |
The documentation for this class was generated from the following file: