MCPcopy Create free account
hub / github.com/boostorg/filesystem / imbue

Method imbue

src/path.cpp:1706–1721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1704}
1705
1706BOOST_FILESYSTEM_DECL std::locale path::imbue(std::locale const& loc)
1707{
1708#ifdef BOOST_FILESYSTEM_DEBUG
1709 std::cout << "***** path::imbue() called" << std::endl;
1710#endif
1711 std::locale* p = replace_path_locale(loc);
1712 if (BOOST_LIKELY(p != nullptr))
1713 {
1714 // Note: copying/moving std::locale does not throw
1715 std::locale temp(std::move(*p));
1716 delete p;
1717 return temp;
1718 }
1719
1720 return default_locale();
1721}
1722
1723namespace detail {
1724

Callers

nothing calls this directly

Calls 2

replace_path_localeFunction · 0.85
default_localeFunction · 0.85

Tested by

no test coverage detected