Udostępnij za pośrednictwem


ios_base::imbue

Changes the locale.

locale imbue(
   const locale& _Loc
);

Parameters

  • _Loc
    The new locale setting.

Return Value

The previous locale.

Remarks

The member function stores _Loc in the locale object and then reports the callback event and imbue_event. It returns the previous stored value.

Example

See basic_ios::imbue for a sample.

Requirements

Header: <ios>

Namespace: std

See Also

Reference

ios_base Class

iostream Programming

iostreams Conventions

Other Resources

ios_base Members