On Jun 7, 8:29 am, Jerry Coffin <jcof...@taeus.comwrote:
In article <7a396afc-bc56-43c6-8521-d857c4442107
@s21g2000prm.googlegroups.com>, sumsin...@gmail.com says...
are 'mutable' and 'volatile' a Storage Classes in C++?
Mutable is but volatile is not (volatile is a qualifier).
I might add that already in C, "storage class" was sort of a
catch-all, playing more of a syntactic role than anything else:
in C, typedef was a "storage class", for example. C++ moved
typedef out of the storage class category, but then added a
number of other things, and it's still more or less a catch-all;
the words "storage class" themselves only apply semantically to
most of the members, some of the time. (Declaring a variable at
namespace scope "static", for example, doesn't change anything
with regards to how it is stored.)
--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34