$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Matthew Vogt (mattvogt_at_[hidden])
Date: 2005-03-09 15:22:28
Jonathan Turkanis wrote:
>> if (c = boost::io::get(src))
>> {
>> // c is not EOF or EAGAIN
>> if (c == comment_char_)
>
>
> if (c.value() == comment_char_)
>
>
>> {
>> in_comment_ = true;
>> return this->get(src);
>> }
>> }
>> return c;
>> }
>>}
>
>
> I guess it looks okay with c.value(). What do you think?
>
Can the character class have operator==(char), or does this need to be a template?
Matt