Compartir a través de


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

Reference

basic_streambuf Class

iostream Programming

iostreams Conventions

Other Resources

basic_streambuf Members