Allium  0.1.0
allium::narrow_number< To, From, Enabled > Struct Template Reference

Narrows a number type, which can result in a loss of information or accuracy. More...

#include <numeric.hpp>

Detailed Description

template<typename To, typename From, typename Enabled = void>
struct allium::narrow_number< To, From, Enabled >

Narrows a number type, which can result in a loss of information or accuracy.

Allows the conversion of double to float, and the conversion of complex to real types by dropping the imaginary part.


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