template< class CharT, bool International = false >
class moneypunct;
The facet std::moneypunct
encapsulates monetary value format preferences. Stream I/O manipulators std::get_money and std::put_money use std::moneypunct
through std::money_get and std::money_put for parsing monetary value input and formatting monetary value output.
Inheritance diagram
[edit] SpecializationsThe standard library is guaranteed to provide the following specializations (they are required to be implemented by any locale object):
std::moneypunct<char> provides equivalents of the "C" locale preferences std::moneypunct<wchar_t> provides wide character equivalents of the "C" locale preferences std::moneypunct<char, true> provides equivalents of the "C" locale preferences, with international currency symbols std::moneypunct<wchar_t, true> provides wide character equivalents of the "C" locale preferences, with international currency symbols [edit] Nested types [edit] Data members Member Description std::locale::idid
[static] the identifier of the facet const bool intl
[static] International [edit] Member functions [edit] Protected member functions destructs a moneypunct
facet
none
whitespace is permitted but not required except in the last position, where whitespace is not permitted space
one or more whitespace characters are required symbol
the sequence of characters returned by std::moneypunct::curr_symbol is required sign
the first of the characters returned by std::moneypunct::positive_sign or std::moneypunct::negative_sign is required value
the absolute numeric monetary value is required [edit] See also defines monetary formatting patterns
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4