folly::to_floating_point_convertible

Holds an integral value for conversion to a floating-point target type.

Synopsis

Declared in <folly/Utility.h>

template<typename Src>
class to_floating_point_convertible;

Member Functions

NameDescription
to_floating_point_convertible [constructor]Constructors
operator= Assignment operators
operator Dst Converts the wrapped value to the destination floating-point type.

Non-Member Functions

NameDescription
to_floating_pointWraps the argument for floating-point conversion.