E.V.E  0.1-beta
eve::real_scalar_value Concept Reference

#include <eve/concept/vectorizable.hpp>

Concept definition

template<typename T>
concept eve::real_scalar_value = scalar_value<T> && std::same_as< detail::value_type_t<T>, element_type_t<T>>
Specify that a type represents a scalar value.
Definition: vectorizable.hpp:155
Specify that a type represents a scalar value.
Definition: vectorizable.hpp:70

Detailed Description

Specify that a type represents a scalar value.

The concept real_scalar_value<T> is satisfied if and only if T is scalar_value and real_value

Examples

  • float
  • int