atoi() has undefined behavior when given a string that can't be parsed as an integer. This patch replaces atoi() with boost_lexical_cast() and throws an exception when we get something that's not a number. |
||
|---|---|---|
| .. | ||
| reflect.hpp | ||
| typename.hpp | ||
| variant.hpp | ||