}elsethrowstd::runtime_error("Invalid string format representing a list-like structure. Correct format is [(value)?(,value)*]. String provided: "+val);
}elsethrowstd::runtime_error("Invalid string format representing a list-like structure. Correct format is [(value)?(,value)*]. String provided: "+val);
returnresult;
}
staticstd::stringconvert(utils::list<A>val){
...
...
@@ -126,7 +126,7 @@ struct converter<bool>{
staticboolconvert(std::stringval){
if(val=="true")returntrue;
elseif(val=="false")returnfalse;
elsethrowstd::runtime_error("Invalid conversion to bool (Must be either \"true\" or \"false\"). String provided: "+val);
elsethrowstd::runtime_error("Invalid conversion to bool (Must be either \"true\" or \"false\"). String provided: "+val);