Spec-Zone.ru › C++

C++ named requirements: ScalarType

Note: the standard doesn't define a named requirement with this name. This is a type category defined by the core language. It is included here as a named requirement only for consistency.

Requirements

The following types are collectively called scalar types:

  • arithmetic types
  • enumeration types
  • pointer types
  • pointer-to-member types
  • std::nullptr_t
(since C++11)
  • std::meta::info
(since C++26)
  • cv-qualified versions of these types

See also

is_scalar
(C++11)
checks if a type is a scalar type
(class template)
is_scalar_type
(C++26)
checks if reflected type is a scalar type
(function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/named_req/ScalarType

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API