w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
Edit
In Place Editing Advanced Editing
  • References
  • C, C++
  • C++
  • Inputoutput

std::ios_base::imbue

std::locale imbue( const std::locale& loc );

Sets the associated locale of the stream to the given one. Before returning, each function, registered by register_callback() is called with imbue_event as a parameter.

Parameters

loc - new locale to associate the stream to

Return value

The locale object, associated with the stream before the operation.

Example

See also

getloc
returns current locale
(public member function)
Links:
  • http://en.cppreference.com/w/cpp/io/ios_base/imbue
doc_CPP
doc_CPP
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.

Popular Articles
std::ios_base Defined in header <ios> class ios_base; The class ios_base is a multipurpose class that serves as the base class for all I/O str
std::ios_base::ios_base (1) private: ios_base( const ios_base& ); (until C++11) public: ios_base( const ios_base& ) = delete; (since C++11) protected: i
std::ios_base::setf fmtflags setf( fmtflags flags ); (1) fmtflags setf( fmtflags flags, fmtflags mask ); (2) Sets the formatting flags to specified setting
std::ios_base::flags fmtflags flags() const; (1) fmtflags flags( fmtflags flags ); (2) Manages format flags. 1) returns current formatting setting. 2) repla
std::ios_base::precision streamsize precision() const; (1) streamsize precision( streamsize new_precision ); (2) Manages the precision (i.e. how many digits are


Return to View
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions