Standard C++ Library Reference ISO/IEC (VERSION3)

use_facet
template<class Facet>
const Facet& use_facet(const locale& loc);
The template function returns a reference to the locale facet of class Facet listed within the locale object loc. If no
such object is listed, the function throws an object of class bad_cast.
See also the Table of Contents and the Index.
Copyright © 1992-2001 by P.J. Plauger. All rights reserved.