3#ifndef pRC_CORE_VALUE_UNIT_H
4#define pRC_CORE_VALUE_UNIT_H
35 template<
class X, If<IsConstructible<T, X>> = 0>
Definition cholesky.hpp:18
std::enable_if_t< B{}, int > If
Definition type_traits.hpp:68
static constexpr Conditional< IsSatisfied< C >, RemoveConstReference< X >, X > copy(X &&a)
Definition copy.hpp:13
Any< IsFloat< T >, IsInteger< T > > IsValue
Definition type_traits.hpp:72
constexpr auto operator()()
Returns the unit, i.e. 1.
Definition unit.hpp:22
constexpr auto operator()(X &&value)
Returns a scaled unit, for value types the scaling factor is returned directly.
Definition unit.hpp:36
Definition type_traits.hpp:265