numpunct_byname Class
The derived class template describes an object that can serve as a numpunct
facet of a given locale enabling the formatting and punctuation of numeric and Boolean expressions.
Syntax
template <class CharType>
class numpunct_byname : public numpunct<Elem> {
public:
explicit numpunct_byname(
const char* _Locname,
size_t _Refs = 0);
explicit numpunct_byname(
const string& _Locname,
size_t _Refs = 0);
protected:
virtual ~numpunct_byname();
};
Remarks
Its behavior is determined by the named locale _Locname
. The constructor initializes its base object with numpunct<CharType>( _Refs
).
Requirements
Header: <locale>
Namespace: std
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for