|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Is there any difference between 'qualifiers and modifiers?
Or both are synonyms, because in general they are used interchangeably. Which is the standard word from language perspective? What are the different qualifiers(or/and modifiers) available in c++? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
In article <b9b69453-99dd-4df1-ba50-
ccdc6f8b7a7e@u6g2000prc.googlegroups.com>, sumsin123@gmail.com says... > Is there any difference between 'qualifiers and modifiers? > Or both are synonyms, because in general they are used > interchangeably. > Which is the standard word from language perspective? > What are the different qualifiers(or/and modifiers) available in c++? A qualifier is either of "const" or "volatile" (often referred to as a "cv-qualifier"). The C++ standard only talks about a "modifier" as being a member function that changes the state of an object. Clearly this isn't anything like a qualifier. I can imagine somebody talking about 'signed' or 'unsigned' (for example) as a "modifier", as both are normally used to modify another type specifier (e.g. int or long). -- Later, Jerry. The universe is a figment of its own imagination. |
|
![]() |
| Outils de la discussion | |
|
|