| 274 | // ---------------------------------------------------------------------------------------- |
| 275 | |
| 276 | class string_cast_error : public error |
| 277 | { |
| 278 | public: |
| 279 | string_cast_error(const std::string& str): |
| 280 | error(ESTRING_CAST,"string cast error: invalid string = '" + str + "'") {} |
| 281 | }; |
| 282 | |
| 283 | template < |
| 284 | typename T |