#include <stlsoft/stlsoft.h>
#include <stlsoft/shims/access/string.hpp>
#include <exception>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
namespace | stlsoft |
Classes | |
class | option_verification_exception |
Exception thrown by the options_verifier class template. More... | |
struct | option_verification_policy |
Exception policy for options verification. More... | |
class | options_verifier |
Verifies that a given variable is equal to one of a set of options. More... | |
class | options_verifier_comparison_ref |
Acts as a temporary reference to the options_verifier. More... | |
Functions | |
template<typename T> | |
options_verifier< T > | verify_options (T const &value, char const *failureMessage) |
template<typename T, typename XP> | |
options_verifier< T, XP > | verify_options (T const &value, XP const &policy, char const *failureMessage) |
template<typename T, typename XP, typename U> | |
options_verifier< T, XP > & | operator, (options_verifier< T, XP > &ov, U const &u) |
template<typename T, typename U> | |
options_verifier_comparison_ref < T, U > & | operator== (options_verifier< T > const &ov, U const &u) |
template<typename T, typename U1, typename U2> | |
options_verifier_comparison_ref < T, U1 > & | operator|| (options_verifier_comparison_ref< T, U1 > &ov, U2 const &u) |