- std::cin is type-aware.
- Capable of handling user-defined types providing cleaner, type-safe IO.
- Format specifiers are often more flexible than #include <iomanip>.
- Use std::endl if a flush must occur.
- std::cerr will flush after each write, while std::clog will not. Use std::cerr when handling errors to ensure that all debugging information is successfully flushed prior to a catastrophic issue.
- std::internal.
- By using both std::oct and std::uppercase.
- By leveraging a gsl::span.
- By leveraging the rdbuf() member function.
Germany
Slovakia
Canada
Brazil
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
United States
Great Britain
India
Spain
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
France
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Australia
Japan
Russia