Namespaces
Variants
Views
Actions

std::basic_ios::imbue

From cppreference.com
< cpp‎ | io‎ | basic ios
Revision as of 21:55, 2 November 2012 by P12bot (Talk | contribs)

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

Replaces the current locale. Effectively calls ios_base::imbue(loc) and if there is an associated stream buffer (rdbuf() != 0), then calls rdbuf()->pubimbue(loc).

Contents

Parameters

loc - the new locale

Return value

The previous locale, as returned by ios_base::imbue(loc).

Exceptions

(none)

Example