std::ios_base::imbue

Sets the associated locale of the stream to loc. Before returning, each function, registered by register_callback() is called with imbue_event as a parameter.

# Declarations

std::locale imbue( const std::locale& loc );

# Parameters

# Return value

The locale object associated with the stream before the operation.

# Example

This section is incompleteReason: no example

# Defect reports

DRApplied toBehavior as publishedCorrect behavior
LWG 47C++98the return value was misspecified as the return value of getloc()corrected
LWG 156C++98the type of loc was const std::localecorrected to const std::locale&

# See also