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

FreeBSD Manual Pages

  
 
  

home | help
std::basic_filebuf::imbue(3)  C++ Standard Libary std::basic_filebuf::imbue(3)

NAME
       std::basic_filebuf::imbue - std::basic_filebuf::imbue

Synopsis
	  protected:
	  virtual void imbue( const std::locale& loc )

	  Changes the associated locale	so that	all characters inserted	or ex-
       tracted after
	  this	call  (and  until another call to imbue()) are converted using
       the std::codecvt
	  facet	of loc.

	  If the old locale's encoding is state-dependent and file is not  po-
       sitioned	at the
	  beginning, then the new locale must have the same std::codecvt facet
       as the one
	  previously imbued.

Parameters
	  loc -	the locale to imbue the	stream with

Return value
	  (none)

Example
	   This	section	is incomplete
	   Reason: no example

See also
	  imbue	    changes the	associated locale
	  [virtual]  (virtual  protected member	function of std::basic_stream-
       buf<CharT,Traits>)
	  imbue	    sets the locale
		    (public member function of std::basic_ios<CharT,Traits>)

http://cppreference.com		  2022.07.31	  std::basic_filebuf::imbue(3)

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

home | help