libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ negative_sign()

template<typename _CharT, bool _Intl>
string_type std::moneypunct< _CharT, _Intl >::negative_sign ( ) const
inlineinherited

Return negative sign string.

This function returns a string_type to use as a sign for negative amounts. It does so by returning returning moneypunct<char_type>::do_negative_sign().

If the return value contains more than one character, the first character appears in the position indicated by neg_format() and the remainder appear at the end of the formatted string.

Returns
string_type representing a negative sign.

Definition at line 1225 of file locale_facets_nonio.h.

1226 { return this->do_negative_sign(); }
virtual string_type do_negative_sign() const
Return negative sign string.

References do_negative_sign().

Referenced by std::__moneypunct_cache< _CharT, _Intl >::_M_cache().

Here is the call graph for this function:
Here is the caller graph for this function: