Specialized Template Function BT::convertFromString< std::vector< float > >

Function Documentation

template<>
inline std::vector<float> BT::convertFromString<std::vector<float>>(StringView str)

Converts a string to a vector of float.

Parameters:

str – The string to convert.

Throws:

BT::RuntimeError – Throws when there is no input or cannot parse float.

Returns:

std::vector<float> The vector of float.