C++11 example of a value and an object in the standard library?

前端 未结 3 801
栀梦
栀梦 2021-01-13 06:11

In C++11 3p3 it states:

An entity is a value, object, reference, function, enumerator, type, class member, template,

3条回答
  •  粉色の甜心
    2021-01-13 06:51

    The standard iostream objects defined in 27.4.1 [iostreams.objects.overview] such as cin, , cout, cerr and clog (and their wide character cousins) would be examples of objects defined by the Standard Library.

    Similarly, the std::ios_base::fmtflags type defined in 27.5.3 [ios.base] has several constexpr values defined (e.g. boolalpha).

提交回复
热议问题