KASKADE 7 development version
Loading...
Searching...
No Matches
Kaskade::ConvertTo< T, Real > Struct Template Reference

Reports the converted type. More...

#include <scalar.hh>

Public Types

using type = std::conditional_t<std::is_convertible<T,Real>::value,Real,T>

Detailed Description

template<class T, class Real>
struct Kaskade::ConvertTo< T, Real >

Reports the converted type.

Definition at line 163 of file scalar.hh.

Member Typedef Documentation

◆ type

template<class T, class Real>
using Kaskade::ConvertTo< T, Real >::type = std::conditional_t<std::is_convertible<T,Real>::value,Real,T>

Definition at line 165 of file scalar.hh.


The documentation for this struct was generated from the following file: