Home | Libraries | People | FAQ | More |
boost::property_tree::ptree_bad_data — Error indicating that translation from given value to the property tree data_type (or vice versa) failed. Derives from ptree_error.
// In header: <boost/property_tree/exceptions.hpp> class ptree_bad_data : public boost::property_tree::ptree_error { public: // construct/copy/destruct template<typename T> ptree_bad_data(const std::string &, const T &); ~ptree_bad_data(); // public member functions template<typename T> T data() const; };
ptree_bad_data
public
construct/copy/destructtemplate<typename T> ptree_bad_data(const std::string & what, const T & data);Instantiate a
ptree_bad_data
instance with the given message and data.
Parameters: |
|
~ptree_bad_data();