jaulib v1.4.0-2-g788cf73
Jau Support Library (C++, Java, ..)
Loading...
Searching...
No Matches
jau::req Namespace Reference

Requirement (concept) Definitions. More...

Concepts

concept  pointer
 Concept of type-trait std::is_pointer.
 
concept  standard_layout
 Concept of type-trait std::is_standard_layout.
 
concept  trivially_copyable
 Concept of type-trait std::is_trivially_copyable.
 
concept  arithmetic
 Concept of type-trait std::is_arithmetic.
 
concept  unsigned_arithmetic
 Concept of type-trait std::is_unsigned and std::is_arithmetic.
 
concept  signed_arithmetic
 Concept of type-trait std::is_signed and std::is_arithmetic.
 
concept  unsigned_integral
 Concept of type-trait std::is_unsigned and std::is_integral.
 
concept  signed_integral
 Concept of type-trait std::is_signed and std::is_integral.
 
concept  packed_integral
 Concept of type-trait std::is_integral and sizeof(T) == alignof(T) (packed)
 
concept  packed_floating_point
 Concept of type-trait std::is_floating_point and sizeof(T) == alignof(T) (packed)
 
concept  container
 C++ Named Requirement Container (partial)
 
concept  contiguous_container
 C++ Named Requirement ContiguousContainer (partial)
 

Functions

template<typename T>
requires container<T>
constexpr bool is_container ()
 Query whether type is a C++ Named Requirement Container (partial)
 
template<typename T>
requires (!container<T>)
constexpr bool is_container ()
 Query whether type is a C++ Named Requirement Container (partial)
 
template<typename T>
requires contiguous_container<T>
constexpr bool is_contiguous_container ()
 Query whether type is a C++ Named Requirement ContiguousContainer (partial)
 
template<typename T>
requires (!contiguous_container<T>)
constexpr bool is_contiguous_container ()
 Query whether type is a C++ Named Requirement ContiguousContainer (partial)
 

Detailed Description

Requirement (concept) Definitions.

Function Documentation

◆ is_container()

template<typename T>
requires (!container<T>)
bool jau::req::is_container ( )
constexpr

Query whether type is a C++ Named Requirement Container (partial)

Definition at line 103 of file type_concepts.hpp.

◆ is_contiguous_container()

template<typename T>
requires (!contiguous_container<T>)
bool jau::req::is_contiguous_container ( )
constexpr

Query whether type is a C++ Named Requirement ContiguousContainer (partial)

Definition at line 122 of file type_concepts.hpp.