Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
raise.hh File Reference
#include <stdexcept>
#include <sstream>
#include <utility>
#include <vcsn/misc/attributes.hh>
Include dependency graph for raise.hh:

Go to the source code of this file.

Classes

struct  vcsn::detail::pass
 Ignore its arguments. More...
 

Namespaces

 vcsn
 
 vcsn::detail
 

Functions

template<typename... Args>
ATTRIBUTE_NORETURN void vcsn::raise (Args &&...args)
 Raise a runtime_error with the concatenation of args as message. More...
 
template<typename... Args>
void vcsn::require (bool b, Args &&...args)
 If b is not verified, raise an error with args as message. More...