![]() |
Vcsn
2.2
Be Rational
|
#include <stdexcept>#include <sstream>#include <utility>#include <vcsn/misc/attributes.hh>#include <vcsn/misc/escape.hh>Go to the source code of this file.
Classes | |
| struct | vcsn::detail::pass |
| Ignore its arguments. More... | |
Namespaces | |
| vcsn | |
| vcsn::detail | |
Macros | |
| #define | VCSN_REQUIRE(Cond, ...) |
| A macro similar to require. More... | |
Functions | |
| template<typename T > | |
| void | vcsn::detail::print_ (std::ostream &o, const T &arg, long) |
| Serialize arg into o. More... | |
| void | vcsn::detail::print_ (std::ostream &o, std::istream &is, long) |
| When printing an istream, consider that we are trying to help the user by showing what's wrong with the input. More... | |
| void | vcsn::detail::print_ (std::ostream &o, std::istringstream &is, long) |
| Disambiguation: both 'istream&' and 'const T&' are elligible. More... | |
| template<typename T > | |
| auto | vcsn::detail::print_ (std::ostream &o, const T &arg, int) -> decltype(arg.print_set(o), void()) |
| Serialize arg, which supports print_set, into o. More... | |
| template<typename... Args> | |
| ATTRIBUTE_NORETURN void | vcsn::raise (Args &&...args) |
| Raise a runtime_error with the concatenation of args as message. More... | |
| template<typename Bool , typename... Args> | |
| void | vcsn::require (Bool b, Args &&...args) |
| If b is not verified, raise an error with args as message. More... | |
| #define VCSN_REQUIRE | ( | Cond, | |
| ... | |||
| ) |
A macro similar to require.
Its point is to avoid the cost of the evaluation of the variadic arguments.
Definition at line 89 of file raise.hh.
Referenced by vcsn::edit_automaton< Aut >::add_entry(), vcsn::conv(), vcsn::detail::min_plus_impl< unsigned int >::conv(), vcsn::oneset::conv(), vcsn::letterset< GenSet >::conv(), vcsn::wordset< GenSet >::conv(), vcsn::rat::expansionset< ExpSet >::tuple_impl< Expansions >::denormalize_tape(), vcsn::divkbaseb(), vcsn::eat(), vcsn::dyn::detail::Registry< Fun >::get(), vcsn::get_file_contents(), vcsn::detail::genset_labelset< GenSet >::get_letter(), vcsn::set_alphabet< L >::get_word(), and vcsn::rat::expressionset_impl< Context >::letter_class_().