c++declarationdefinitionqualifiers

What Does cv-qualified Mean?


I have started seeing the term "cv-qualified" being thrown around a lot.

An answer to my last question:

if T is a (possibly cv-qualified) class type (Clause 9), the default constructor (12.1) for T is called

Can someone define that for me?


Solution

  • c in cv means const and v means volatile.

    From the C++ Standard (3.9.3 CV-qualifiers)