Template:ddcl list begin <tr class="t-dsc-header"><td>
<td></td> <td></td> </tr> <tr class="t-dcl "><td >
result unshift( stateT& state,
<td > (1) </td> <td class="t-dcl-nopad"> </td> </tr> <tr class="t-dcl "><td >
result do_unshift( stateT& state,
<td > (2) </td> <td class="t-dcl-nopad"> </td> </tr> Template:ddcl list end
1) public member function, calls the member function
do_unshift of the most derived class.
2) if the encoding represented by this
codecvt facet is state-dependent, and
state represents a conversion state that is not the initial shift state, writes the characters necessary to return to the initial shift state. The characters are written to a character array whose first element is pointed to by
to. No more than
to_end-to characters are written. The parameter
to_next is updated to point one past the last character written.
A value of type std::codecvt_base::result, indicating the success status as follows:
|| all necessary characters were written. |
||not enough space in the output buffer. to_next == to_end|
||unspecified error occurred|
||the encoding is not state-dependent, no termination sequence necessary|
This function is called by std::basic_filebuf::close() and in other situations when finalizing a state-dependent multibyte character sequence.
|This section is incomplete|
Reason: no example