volatile [was: GCC warnings for unused global variables]

Gabriel Dos Reis gdr@integrable-solutions.net
Thu May 8 15:39:00 GMT 2003


Fergus Henderson <fjh@cs.mu.oz.au> writes:

[...]

| > since the committee does consider
| > member functions that are volatile-qualified which, for one thing, is
| > an indication that volatile was expected to be used with classes.
| 
| I think that was more for orthogonality and simplicity than because
| they expected it to be used or useful.

It is clear tht they expected it to be used.  Did they expect it to be
useful?  I would say no, given the general sentiment about volatile
among the C++ committee members.

-- Gaby



More information about the Gcc mailing list