public member function
<locale>

std::codecvt::do_length

int do_length (state_type& state, const extern_type* from,
               const extern_type* from_end, size_t max) const;
Return length of translated sequence [virtual]
Virtual protected member function called by codecvt::length to get the projected length of a sequence.

Polymorphic derived classes can overwrite the behavior of this function.

See codecvt::length for its default behavior in codecvt.

See also