
9 Mar
2005
9 Mar
'05
8:22 p.m.
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