5 Jul
2005
5 Jul
'05
7:23 p.m.
Zeljko Vrba
David Abrahams wrote: | | I don't understand yet. What is the difference between stage_1 and | stage_2? Fewer arguments in stage_1? | exactly.
e.g. stage reading from file:
template<typename Result> struct file_reader { ~ typedef Result result_type; ~ istream f_;
~ const std::pair
&operator()() { ~ static std::pair r; ~ f_.read(&r.first, sizeof(Result)); ~ r.second = f_;
<Snip> I know this must sound very fussy, but would you mind posting this material without the leading tildes? I have a hard time reading it. -- Dave Abrahams Boost Consulting www.boost-consulting.com