wpath_traits::imbue Method

Stores a locale.

void imbue(locale Loc);
bool imbue(locale Loc, nothrow_t);

Parameters

Return Value

The second method returns a bool that specifies whether the wpath_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 wpath_traits object already had an assigned locale.

Requirements

Header: filesystem

Namespace: std::tr2::sys

See Also

Reference

wpath_traits Structure

<filesystem>