Lines Matching refs:TP

42 template<class TP> class smanip; // TP = Type Param
44 template<class TP> class sapp {
45 ios& (*_f)(ios&, TP);
47 sapp(ios& (*f)(ios&, TP)) : _f(f) {} in sapp() argument
49 smanip<TP> operator()(TP a) in operator()
50 { return smanip<TP>(_f, a); } in operator()
53 template<class TP>
54 inline istream& operator>>(istream& i, const smanip<TP>& m);
55 template<class TP>
56 inline ostream& operator<<(ostream& o, const smanip<TP>& m);
58 template <class TP> class smanip {
59 ios& (*_f)(ios&, TP);
60 TP _a;
62 smanip(ios& (*f)(ios&, TP), TP a) : _f(f), _a(a) {} in smanip() argument
65 istream& operator>> <>(istream& i, const smanip<TP>& m);
67 ostream& operator<< <>(ostream& o, const smanip<TP>& m);
75 template<class TP>
76 inline istream& operator>>(istream& i, const smanip<TP>& m)
79 template<class TP>
80 inline ostream& operator<<(ostream& o, const smanip<TP>& m)
98 template<class TP> class imanip;
100 template<class TP> class iapp {
101 istream& (*_f)(istream&, TP);
103 iapp(istream& (*f)(istream&,TP)) : _f(f) {} in iapp() argument
105 imanip<TP> operator()(TP a) in operator()
106 { return imanip<TP>(_f, a); } in operator()
109 template <class TP>
110 inline istream& operator>>(istream&, const imanip<TP>&);
112 template <class TP> class imanip {
113 istream& (*_f)(istream&, TP);
114 TP _a;
116 imanip(istream& (*f)(istream&, TP), TP a) : _f(f), _a(a) {} in imanip() argument
119 istream& operator>> <>(istream& i, const imanip<TP>& m);
122 template <class TP>
123 inline istream& operator>>(istream& i, const imanip<TP>& m)
130 template<class TP> class omanip;
132 template<class TP> class oapp {
133 ostream& (*_f)(ostream&, TP);
135 oapp(ostream& (*f)(ostream&,TP)) : _f(f) {} in oapp() argument
137 omanip<TP> operator()(TP a) in operator()
138 { return omanip<TP>(_f, a); } in operator()
141 template <class TP>
142 inline ostream& operator<<(ostream&, const omanip<TP>&);
144 template <class TP> class omanip {
145 ostream& (*_f)(ostream&, TP);
146 TP _a;
148 omanip(ostream& (*f)(ostream&, TP), TP a) : _f(f), _a(a) {} in omanip() argument
151 ostream& operator<< <>(ostream& o, const omanip<TP>& m);
154 template <class TP>
155 inline ostream& operator<<(ostream& o, const omanip<TP>& m)