22 #ifndef _EVAL_HELPERS_HPP 23 #define _EVAL_HELPERS_HPP 40 bool Conv(
const string& str, T* out,
bool tryToCache =
false)
43 std::istringstream is(str);
46 return !is.bad() && is.eof();
51 bool Conv(
const string& str,
bool* out,
bool tryToCache);
55 bool Conv(
const string& str,
Color* out,
bool tryToCache);
59 bool Conv(
const string& str,
string* out,
bool tryToCache );
75 std::ostringstream os;
91 template<
typename Iter1,
typename Iter2>
bool Conv(const string &str, bool *out, bool tryToCache)
Use some extra function for bool conversion.
Represents a string which could be cached into an internal cache.
This file is part of alaCarte.
string ToString(const bool &v)