path_traits::imbue Method
Stores a locale.
void imbue(locale Loc);
bool imbue(locale Loc, nothrow_t);
Parameters
- Loc
A locale object.
Return Value
The second method returns a bool that specifies whether the path_traits object had an assigned locale before the call.
Remarks
Each method stores Loc if no locale has been assigned.
The first method throws a filesystem_error if the path_traits object already had an assigned locale.
Requirements
Header: filesystem
Namespace: std::tr2::sys