다음을 통해 공유


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