20 #ifndef PALUDIS_GUARD_PALUDIS_DESTRINGIFY_HH 21 #define PALUDIS_GUARD_PALUDIS_DESTRINGIFY_HH 1 63 namespace destringify_internals
70 template <
typename Type_,
typename Exception_>
78 std::istringstream ss(s);
81 if (! ss.eof() || ss.fail())
92 template <
typename Exception_>
109 template <
typename Exception_>
121 else if (s ==
"false")
133 template <
typename Exception_>
154 template <
typename Type_,
typename Exception_ = De
stringifyError>
158 throw Exception_(
"");
Definition: about_metadata-fwd.hh:23
static bool do_destringify(const std::string &s)
Definition: destringify.hh:115
static Type_ do_destringify(const std::string &s)
Definition: destringify.hh:76
Definition: exception.hh:74
static std::string do_destringify(const std::string &s)
Definition: destringify.hh:98
Type_ destringify(const std::string &s)
Definition: destringify.hh:155
static char do_destringify(const std::string &s)
Definition: destringify.hh:139
Definition: destringify.hh:71
Definition: destringify.hh:46
#define PALUDIS_VISIBLE
Definition: attributes.hh:59