std::get_money

std::get_money

Defined in header <iomanip>
template< class MoneyT >
/*unspecified*/ get_money( MoneyT& mon, bool intl = false );
(since C++11)

When used in an expression in >> get_money(mon, intl), parses the character input as a monetary value, as specified by the std::money_get facet of the locale currently imbued in in, and stores the value in mon.

The extraction operation in in >> get_money(mon, intl