C++ named requirements: ScalarType - cppreference.com (original) (raw)

From cppreference.com

< cpp‎ | named req

C++

Compiler support
Freestanding and hosted
Language
Standard library
Standard library headers
Named requirements
Feature test macros (C++20)
Language support library
Concepts library (C++20)
Diagnostics library
Memory management library
Metaprogramming library (C++11)
General utilities library
Containers library
Iterators library
Ranges library (C++20)
Algorithms library
Strings library
Text processing library
Numerics library
Date and time library
Input/output library
Filesystem library (C++17)
Concurrency support library (C++11)
Execution control library (C++26)
Technical specifications
Symbols index
External libraries

[edit]

C++ named requirements

Basic DefaultConstructible MoveConstructible(C++11) CopyConstructible CopyAssignable MoveAssignable(C++11) Destructible Type properties ScalarType PODType TriviallyCopyable(C++11) TrivialType(C++11) StandardLayoutType(C++11) ImplicitLifetimeType Library-wide BooleanTestable EqualityComparable LessThanComparable Swappable ValueSwappable(C++11) NullablePointer(C++11) Hash(C++11) Allocator FunctionObject Callable Predicate BinaryPredicate Compare Container Container ReversibleContainer AllocatorAwareContainer SequenceContainer ContiguousContainer(C++17) AssociativeContainer UnorderedAssociativeContainer(C++11) Container element DefaultInsertable(C++11) CopyInsertable(C++11) MoveInsertable(C++11) EmplaceConstructible(C++11) Erasable(C++11) Iterator LegacyIterator LegacyInputIterator LegacyOutputIterator LegacyForwardIterator LegacyBidirectionalIterator LegacyRandomAccessIterator LegacyContiguousIterator(C++17) ConstexprIterator(C++20) Stream I/O FormattedInputFunction UnformattedInputFunction FormattedOutputFunction UnformattedOutputFunction Formatters BasicFormatter(C++20) Formatter(C++20) Random Numbers SeedSequence(C++11) RandomNumberEngine(C++11) RandomNumberDistribution(C++11) UniformRandomBitGenerator(C++11) RandomNumberEngineAdaptor(C++11) Concurrency BasicLockable(C++11) Lockable(C++11) TimedLockable(C++11) SharedLockable(C++14) SharedTimedLockable(C++14) Mutex(C++11) TimedMutex(C++11) SharedMutex(C++17) SharedTimedMutex(C++14) Ranges RangeAdaptorObject(C++20) RangeAdaptorClosureObject(C++20) Multidimensional View LayoutMapping(C++23) LayoutMappingPolicy(C++23) AccessorPolicy(C++23) Other CharTraits RegexTraits(C++11) BitmaskType LiteralType(C++11) NumericType UnaryTypeTrait(C++11) BinaryTypeTrait(C++11) TransformationTrait(C++11) Clock(C++11) TrivialClock(C++11)

[edit]

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.

[edit] Requirements

The following types are collectively called scalar types:

std::nullptr_t (since C++11)

[edit] See also

is_scalar(C++11) checks if a type is a scalar type (class template) [edit]

Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/named_req/ScalarType&oldid=139832"