|
Boost Users : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-07-05 14:23:36
Zeljko Vrba <zvrba_at_[hidden]> writes:
> 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<Result, bool> &operator()() {
> ~ static std::pair<Result, bool> 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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net