Should basic_*stream::is_open() be const?

Gabriel Dos Reis gdr@integrable-solutions.net
Fri Aug 13 14:06:00 GMT 2004


Paolo Carlini <pcarlini@suse.de> writes:

| Gabriel Dos Reis wrote:
| 
| >Still, I find the need to this addition very dubious.
| >
| Oh, we can live without it, but as a rule we implement ASAP the
| resolved DRs.

You're right about the DRs.  But, that does not prevent me from
having serious doubts about the need of such const-functions :-)

| Could you please detail a little bit more your doubts?

What do you do with a const stream?

-- Gaby



More information about the Libstdc++ mailing list