You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
346 B
24 lines
346 B
#ifndef _STORM_PARSER_READVALUES_H
|
|
#define _STORM_PARSER_READVALUES_H
|
|
|
|
#include "src/utility/cstring.h"
|
|
|
|
namespace storm
|
|
{
|
|
namespace parser
|
|
{
|
|
|
|
template<typename T>
|
|
T readValue(char const* buf);
|
|
|
|
template<>
|
|
double readValue<double>(char const* buf)
|
|
{
|
|
return utility::cstring::checked_strtod(buf, &buf);
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
#endif
|
|
|