electro 0.3.0
Type-safe electrical units library modeled after std::chrono
Loading...
Searching...
No Matches
electro::treat_as_inexact< T > Struct Template Reference

Trait to indicate floating-point-like behavior. More...

#include <electro/electro.hpp>

Inheritance diagram for electro::treat_as_inexact< T >:

Detailed Description

template<typename T>
struct electro::treat_as_inexact< T >

Trait to indicate floating-point-like behavior.

Specializations for floating-point types return true. User-defined types may specialize this to enable implicit lossy conversions.

Template Parameters
TThe type to check.

Definition at line 159 of file electro.hpp.


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