plll  1.0
plll::arithmetic::implementation::nativeconversion_impl2< Native, SourceType, NativeInt, SourceInt > Class Template Reference

Implementation backend for native conversion functions. More...

#include <arithmetic.hpp>

Detailed Description

template<class Native, class SourceType, bool NativeInt, bool SourceInt>
class plll::arithmetic::implementation::nativeconversion_impl2< Native, SourceType, NativeInt, SourceInt >

Implementation backend for native conversion functions.

Provides functions to convert the type SourceType to the given native type Native. The booleans NativeInt and SourceInt indicate whether the native respectively source type are integer types.

It uses nativeconversion_impl<SourceType>, which provides functions for all supported native types.

Note that for Native == Integer, it supports conversions of any type to arbitrary precision integers (using plll::arithmetic::implementation::nativeconversion_impl2<Integer, Source, true, SourceInt>). Moreover, for Native == std::string, it supports type to string conversions (using plll::arithmetic::implementation::nativeconversion_impl2<std::string, SourceType, true, SourceInt>).

Definition at line 1015 of file arithmetic.hpp.


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