Name

use_facet function template — Retrieves a facet for a locale

Synopsis

template <typename Facet>
const Facet& use_facet(const locale& loc)

The use_facet function template obtains a facet from locale loc. See Example 13-24 and Example 13-27, earlier in this section.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.