GuideToDoubleFunction

A callable struct that translates any value into a double

Members

Functions

convert
auto convert(T value)

Convert the value to double

opCall
auto opCall(T value)

Call the function with a value

Variables

doubleConvert
double delegate(double) doubleConvert;

Function that governs translation from double to double (continuous to continuous)

stringConvert
double delegate(string) stringConvert;

Function that governs translation from string to double (discrete to continuous)

Meta