|
2810 | 2810 | \begin{codeblock} |
2811 | 2811 | namespace std { |
2812 | 2812 | template<class charT, class OutputIterator = ostreambuf_iterator<charT>> |
2813 | | - class num_put : public locale::facet { |
2814 | | - public: |
2815 | | - using @\libmember{char_type}{num_put}@ = charT; |
2816 | | - using @\libmember{iter_type}{num_put}@ = OutputIterator; |
| 2813 | + class num_put : public locale::facet { |
| 2814 | + public: |
| 2815 | + using @\libmember{char_type}{num_put}@ = charT; |
| 2816 | + using @\libmember{iter_type}{num_put}@ = OutputIterator; |
2817 | 2817 |
|
2818 | | - explicit num_put(size_t refs = 0); |
| 2818 | + explicit num_put(size_t refs = 0); |
2819 | 2819 |
|
2820 | | - iter_type put(iter_type s, ios_base& f, char_type fill, bool v) const; |
2821 | | - iter_type put(iter_type s, ios_base& f, char_type fill, long v) const; |
2822 | | - iter_type put(iter_type s, ios_base& f, char_type fill, long long v) const; |
2823 | | - iter_type put(iter_type s, ios_base& f, char_type fill, unsigned long v) const; |
2824 | | - iter_type put(iter_type s, ios_base& f, char_type fill, unsigned long long v) const; |
2825 | | - iter_type put(iter_type s, ios_base& f, char_type fill, double v) const; |
2826 | | - iter_type put(iter_type s, ios_base& f, char_type fill, long double v) const; |
2827 | | - iter_type put(iter_type s, ios_base& f, char_type fill, const void* v) const; |
| 2820 | + iter_type put(iter_type s, ios_base& f, char_type fill, bool v) const; |
| 2821 | + iter_type put(iter_type s, ios_base& f, char_type fill, long v) const; |
| 2822 | + iter_type put(iter_type s, ios_base& f, char_type fill, long long v) const; |
| 2823 | + iter_type put(iter_type s, ios_base& f, char_type fill, unsigned long v) const; |
| 2824 | + iter_type put(iter_type s, ios_base& f, char_type fill, unsigned long long v) const; |
| 2825 | + iter_type put(iter_type s, ios_base& f, char_type fill, double v) const; |
| 2826 | + iter_type put(iter_type s, ios_base& f, char_type fill, long double v) const; |
| 2827 | + iter_type put(iter_type s, ios_base& f, char_type fill, const void* v) const; |
2828 | 2828 |
|
2829 | | - static locale::id @\libmember{id}{num_put}@; |
| 2829 | + static locale::id @\libmember{id}{num_put}@; |
2830 | 2830 |
|
2831 | | - protected: |
2832 | | - ~num_put(); |
2833 | | - virtual iter_type do_put(iter_type, ios_base&, char_type fill, bool v) const; |
2834 | | - virtual iter_type do_put(iter_type, ios_base&, char_type fill, long v) const; |
2835 | | - virtual iter_type do_put(iter_type, ios_base&, char_type fill, long long v) const; |
2836 | | - virtual iter_type do_put(iter_type, ios_base&, char_type fill, unsigned long) const; |
2837 | | - virtual iter_type do_put(iter_type, ios_base&, char_type fill, unsigned long long) const; |
2838 | | - virtual iter_type do_put(iter_type, ios_base&, char_type fill, double v) const; |
2839 | | - virtual iter_type do_put(iter_type, ios_base&, char_type fill, long double v) const; |
2840 | | - virtual iter_type do_put(iter_type, ios_base&, char_type fill, const void* v) const; |
2841 | | - }; |
| 2831 | + protected: |
| 2832 | + ~num_put(); |
| 2833 | + virtual iter_type do_put(iter_type, ios_base&, char_type fill, bool v) const; |
| 2834 | + virtual iter_type do_put(iter_type, ios_base&, char_type fill, long v) const; |
| 2835 | + virtual iter_type do_put(iter_type, ios_base&, char_type fill, long long v) const; |
| 2836 | + virtual iter_type do_put(iter_type, ios_base&, char_type fill, unsigned long) const; |
| 2837 | + virtual iter_type do_put(iter_type, ios_base&, char_type fill, unsigned long long) const; |
| 2838 | + virtual iter_type do_put(iter_type, ios_base&, char_type fill, double v) const; |
| 2839 | + virtual iter_type do_put(iter_type, ios_base&, char_type fill, long double v) const; |
| 2840 | + virtual iter_type do_put(iter_type, ios_base&, char_type fill, const void* v) const; |
| 2841 | + }; |
2842 | 2842 | } |
2843 | 2843 | \end{codeblock} |
2844 | 2844 |
|
|
0 commit comments