次の方法で共有


codecvt::do_max_length

A virtual function that returns the maximum number of external Bytes necessary to produce one internal CharType.

virtual int do_max_length( ) const throw( );

Return Value

The maximum number of Bytes necessary to produce one CharType.

Remarks

The protected virtual member function returns the largest permissible value that can be returned by do_length(_First1, _Last1, 1) for arbitrary valid values of _First1 and _Last1.

Example

See the example for max_length, which calls do_max_length.

Requirements

Header: <locale>

Namespace: std

See Also

Concepts

codecvt Class

codecvt Members