Partager via


basic_streambuf::pubimbue

Sets the basic_streambuf object's locale.

locale pubimbue(
   const locale& _Loc
);

Parameters

  • _Loc
    A reference to a locale.

Return Value

The previous value stored in the locale object.

Remarks

The member function stores _Loc in the locale object and calls imbue.

Example

See basic_ios::imbue for an example that uses pubimbue.

Requirements

Header: <streambuf>

Namespace: std

See Also

Concepts

basic_streambuf Class

basic_streambuf Members

iostream Programming

iostreams Conventions