#include <Corrade/Utility/TweakableParser.h>
template<>
TweakableParser<float> struct
Tweakable constant parser for the float
type.
Expects literals in the form 0.42f
, 4.2e-1f
, .42f
and variants, case-insensitive. The f
suffix is not optional, unary +
or -
is allowed.
Public static functions
-
static auto parse(Containers::
StringView value) -> Containers:: Pair<TweakableState, float> - Parse the value.