Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
std::locale::classic(3)	      C++ Standard Libary      std::locale::classic(3)

NAME
       std::locale::classic - std::locale::classic

Synopsis
	  Defined in header <locale>
	  static const locale& classic();

	  Obtains  a  reference	 to the	C++ locale that	implements the classic
       "C" locale
	  semantics. This locale, unlike the global locale, cannot be altered.

Parameters
	  none

Return value
	  Returns a reference to the "C" locale.

Notes
	  Some of the standard-required	facets,	such as	the UTF-8/UTF-32  con-
       version facet
	  std::codecvt<char32_t, char, std::mbstate_t>,	have no	equivalents in
       the "C" locale,
	  but they are nevertheless present in the locale returned by std::lo-
       cale::classic(),
	  as in	any other locale constructed in	a C++ program.

Example
	   This	section	is incomplete
	   Reason: no example

See also
	  global   changes the global locale
	  [static] (public static member function)

http://cppreference.com		  2022.07.31	       std::locale::classic(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=std::locale::classic&sektion=3&manpath=FreeBSD+Ports+15.0>

home | help