protected virtual member function

std::streambuf::imbue

<streambuf>
void imbue ( const locale & loc );
Imbue locale
This member function is called to imbue a new locale to an object of the streambuf class. The public member function pubimbue calls this protected member function to perform this action.

This is a virtual member function that can be redefined for a specific behavior in derived classes. Its default behavior in streambuf is to do nothing.

The standard derived class filebuf overrides this function (see filebuf::imbue).

Parameters

loc
The locale object being imbued to the object.

Return Value

none

Basic template member declaration

( basic_streambuf<charT,traits> )
 
void imbue ( const locale & loc );


See also