kyosu v0.1.0
Complex Without Complexes
 
Loading...
Searching...
No Matches
kyosu::as_real< T > Struct Template Reference

Lightweight type-wrapper of real value type. More...

#include <kyosu/types/traits.hpp>

Detailed Description

template<typename T>
struct kyosu::as_real< T >

Lightweight type-wrapper of real value type.

Wraps the real type associed to T into a constexpr, trivially constructible empty class to optimize passing type parameters via object instead of via template parameters.

Template Parameters
TType to wrap