C++ Question: const Qualifier or Modifier
-
In the context of C++, is there technically a difference between, qualifier and modifier. I have seen the phrase "
const
modifier" and "const
qualifier" used interchangeably. Clarification and/or references would be appreciated. Thanks Mike -
In the context of C++, is there technically a difference between, qualifier and modifier. I have seen the phrase "
const
modifier" and "const
qualifier" used interchangeably. Clarification and/or references would be appreciated. Thanks MikeIn the document, "ISO/IEC 14882:1998 Programming languages -- C++", section 7.1.5.1 The cv-qualifiers [dcl.type.cv] 1. There are two cv-qualifiers, const and volatile. If a cv-qualifier appears in a decl-specifier-seq, the init-declarator-list of the declaration shall not be empty. Maxwell Chen
-
In the context of C++, is there technically a difference between, qualifier and modifier. I have seen the phrase "
const
modifier" and "const
qualifier" used interchangeably. Clarification and/or references would be appreciated. Thanks MikeAre qualifier and modifier really c++ syntax? I don't think so. If they're not it's perhaps just names used for functions with a special purpose. "Time to give a Newtonian demonstration, of a bullet, its mass and its acceleration." -Stephen Hawking the gangsta rapper