Init
This commit is contained in:
58
cppdraft/locale/num/get/general.md
Normal file
58
cppdraft/locale/num/get/general.md
Normal file
@@ -0,0 +1,58 @@
|
||||
[locale.num.get.general]
|
||||
|
||||
# 28 Text processing library [[text]](./#text)
|
||||
|
||||
## 28.3 Localization library [[localization]](localization#locale.num.get.general)
|
||||
|
||||
### 28.3.4 Standard locale categories [[locale.categories]](locale.categories#locale.num.get.general)
|
||||
|
||||
#### 28.3.4.3 The numeric category [[category.numeric]](category.numeric#locale.num.get.general)
|
||||
|
||||
#### 28.3.4.3.2 Class template num_get [[locale.num.get]](locale.num.get#general)
|
||||
|
||||
#### 28.3.4.3.2.1 General [locale.num.get.general]
|
||||
|
||||
[ð](#lib:num_get)
|
||||
|
||||
namespace std {template<class charT, class InputIterator = istreambuf_iterator<charT>>class num_get : public locale::facet {public:using char_type = charT; using iter_type = InputIterator; explicit num_get(size_t refs = 0);
|
||||
|
||||
iter_type get(iter_type in, iter_type end, ios_base&,
|
||||
ios_base::iostate& err, bool& v) const;
|
||||
iter_type get(iter_type in, iter_type end, ios_base&,
|
||||
ios_base::iostate& err, long& v) const;
|
||||
iter_type get(iter_type in, iter_type end, ios_base&,
|
||||
ios_base::iostate& err, long long& v) const;
|
||||
iter_type get(iter_type in, iter_type end, ios_base&,
|
||||
ios_base::iostate& err, unsigned short& v) const;
|
||||
iter_type get(iter_type in, iter_type end, ios_base&,
|
||||
ios_base::iostate& err, unsigned int& v) const;
|
||||
iter_type get(iter_type in, iter_type end, ios_base&,
|
||||
ios_base::iostate& err, unsigned long& v) const;
|
||||
iter_type get(iter_type in, iter_type end, ios_base&,
|
||||
ios_base::iostate& err, unsigned long long& v) const;
|
||||
iter_type get(iter_type in, iter_type end, ios_base&,
|
||||
ios_base::iostate& err, float& v) const;
|
||||
iter_type get(iter_type in, iter_type end, ios_base&,
|
||||
ios_base::iostate& err, double& v) const;
|
||||
iter_type get(iter_type in, iter_type end, ios_base&,
|
||||
ios_base::iostate& err, long double& v) const;
|
||||
iter_type get(iter_type in, iter_type end, ios_base&,
|
||||
ios_base::iostate& err, void*& v) const; static locale::id id; protected:~num_get(); virtual iter_type do_get(iter_type, iter_type, ios_base&,
|
||||
ios_base::iostate& err, bool& v) const; virtual iter_type do_get(iter_type, iter_type, ios_base&,
|
||||
ios_base::iostate& err, long& v) const; virtual iter_type do_get(iter_type, iter_type, ios_base&,
|
||||
ios_base::iostate& err, long long& v) const; virtual iter_type do_get(iter_type, iter_type, ios_base&,
|
||||
ios_base::iostate& err, unsigned short& v) const; virtual iter_type do_get(iter_type, iter_type, ios_base&,
|
||||
ios_base::iostate& err, unsigned int& v) const; virtual iter_type do_get(iter_type, iter_type, ios_base&,
|
||||
ios_base::iostate& err, unsigned long& v) const; virtual iter_type do_get(iter_type, iter_type, ios_base&,
|
||||
ios_base::iostate& err, unsigned long long& v) const; virtual iter_type do_get(iter_type, iter_type, ios_base&,
|
||||
ios_base::iostate& err, float& v) const; virtual iter_type do_get(iter_type, iter_type, ios_base&,
|
||||
ios_base::iostate& err, double& v) const; virtual iter_type do_get(iter_type, iter_type, ios_base&,
|
||||
ios_base::iostate& err, long double& v) const; virtual iter_type do_get(iter_type, iter_type, ios_base&,
|
||||
ios_base::iostate& err, void*& v) const; };}
|
||||
|
||||
[1](#1)
|
||||
|
||||
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/text.tex#L2490)
|
||||
|
||||
The facet num_get is used to parse numeric values
|
||||
from an input sequence such as an istream[.](#1.sentence-1)
|
||||
Reference in New Issue
Block a user