Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cpp_throw.hpp File Reference
#include <string>
#include <boost/throw_exception.hpp>
#include <sstream>
Include dependency graph for cpp_throw.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::wave
 
 boost::wave::util
 

Macros

#define BOOST_WAVE_THROW(cls, code, msg, act_pos)   boost::wave::util::throw_<cls>(cls::code, msg, act_pos) \
 
#define BOOST_WAVE_THROW_CTX(ctx, cls, code, msg, act_pos)   boost::wave::util::throw_<cls>(ctx, cls::code, msg, act_pos) \
 
#define BOOST_WAVE_THROW_NAME_CTX(ctx, cls, code, msg, act_pos, name)   boost::wave::util::throw_<cls>(cls::code, msg, act_pos, name) \
 
#define BOOST_WAVE_THROW_VAR_CTX(ctx, cls, code, msg, act_pos)   boost::wave::util::throw_<cls>(ctx, code, msg, act_pos) \
 

Functions

template<typename Exception , typename S1 , typename Pos >
void boost::wave::util::throw_ (typename Exception::error_code code, S1 msg, Pos const &pos)
 
template<typename Exception , typename Context , typename S1 , typename Pos >
void boost::wave::util::throw_ (Context &ctx, typename Exception::error_code code, S1 msg, Pos const &pos)
 
template<typename Exception , typename S1 , typename Pos , typename S2 >
void boost::wave::util::throw_ (typename Exception::error_code code, S1 msg, Pos const &pos, S2 name)
 
template<typename Exception , typename Context , typename S1 , typename Pos1 , typename S2 >
void boost::wave::util::throw_ (Context &ctx, typename Exception::error_code code, S1 msg, Pos1 const &pos, S2 name)
 

Macro Definition Documentation

#define BOOST_WAVE_THROW_CTX (   ctx,
  cls,
  code,
  msg,
  act_pos 
)    boost::wave::util::throw_<cls>(ctx, cls::code, msg, act_pos) \

Referenced by boost::wave::util::macromap< ContextT >::collect_arguments(), boost::wave::util::macromap< ContextT >::concat_tokensequence(), boost::wave::impl::pp_iterator_functor< ContextT >::ensure_is_last_on_line(), boost::wave::util::macromap< ContextT >::expand_macro(), boost::wave::util::macromap< ContextT >::expand_replacement_list(), boost::wave::impl::pp_iterator_functor< ContextT >::get_next_token(), boost::wave::impl::pp_iterator_functor< ContextT >::handle_pp_directive(), boost::wave::iteration_context_policies::load_file_to_string::inner< IterContextT >::init_iterators(), boost::wave::util::interpret_pragma(), boost::wave::util::macromap< ContextT >::is_defined(), boost::wave::context_policies::default_preprocessing_hooks::locate_include_file(), boost::wave::impl::pp_iterator_functor< ContextT >::on_define(), boost::wave::impl::pp_iterator_functor< ContextT >::on_elif(), boost::wave::impl::pp_iterator_functor< ContextT >::on_else(), boost::wave::impl::pp_iterator_functor< ContextT >::on_endif(), boost::wave::impl::pp_iterator_functor< ContextT >::on_error(), boost::wave::impl::pp_iterator_functor< ContextT >::on_illformed(), boost::wave::impl::pp_iterator_functor< ContextT >::on_include(), boost::wave::impl::pp_iterator_functor< ContextT >::on_include_helper(), boost::wave::impl::pp_iterator_functor< ContextT >::pp_directive(), boost::wave::util::iteration_context_stack< iteration_ptr_type >::push(), boost::wave::util::macromap< ContextT >::remove_macro(), boost::wave::util::report_invalid_concatenation(), boost::wave::util::macromap< ContextT >::resolve_defined(), boost::wave::util::macromap< ContextT >::resolve_operator_pragma(), boost::wave::util::retrieve_macroname(), boost::wave::impl::pp_iterator_functor< ContextT >::returned_from_include(), and boost::wave::impl::pp_iterator_functor< ContextT >::skip_to_eol_with_check().

#define BOOST_WAVE_THROW_NAME_CTX (   ctx,
  cls,
  code,
  msg,
  act_pos,
  name 
)    boost::wave::util::throw_<cls>(cls::code, msg, act_pos, name) \
#define BOOST_WAVE_THROW_VAR_CTX (   ctx,
  cls,
  code,
  msg,
  act_pos 
)    boost::wave::util::throw_<cls>(ctx, code, msg, act_pos) \