Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
static_assert.hpp File Reference
#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>
Include dependency graph for static_assert.hpp:

Macros

#define BOOST_STATIC_ASSERT_MSG(...)   static_assert(__VA_ARGS__)
 
#define BOOST_STATIC_ASSERT_BOOL_CAST(...)   (bool)(__VA_ARGS__)
 
#define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE
 
#define BOOST_STATIC_ASSERT(...)   static_assert(__VA_ARGS__, #__VA_ARGS__)
 

Macro Definition Documentation

#define BOOST_STATIC_ASSERT_BOOL_CAST (   ...)    (bool)(__VA_ARGS__)
#define BOOST_STATIC_ASSERT_MSG (   ...)    static_assert(__VA_ARGS__)

Referenced by boost::math::airy_ai_zero(), boost::math::airy_bi_zero(), boost::any_cast(), boost::type_dispatcher::callback_base::callback_base(), boost::chrono::detail::civil_from_days(), boost::math::cyl_bessel_j_zero(), boost::math::cyl_neumann_zero(), boost::numeric::odeint::fusion_algebra::for_each10(), boost::numeric::odeint::fusion_algebra::for_each11(), boost::numeric::odeint::fusion_algebra::for_each12(), boost::numeric::odeint::fusion_algebra::for_each13(), boost::numeric::odeint::fusion_algebra::for_each14(), boost::numeric::odeint::fusion_algebra::for_each15(), boost::numeric::odeint::fusion_algebra::for_each8(), boost::numeric::odeint::fusion_algebra::for_each9(), boost::expressions::format_named_scope(), boost::multiprecision::number< Backend, ExpressionTemplates >::operator%=(), boost::multiprecision::number< Backend, ExpressionTemplates >::operator&=(), boost::type_dispatcher::callback< T >::operator()(), boost::multiprecision::number< Backend, ExpressionTemplates >::operator<<=(), boost::multiprecision::number< Backend, ExpressionTemplates >::operator>>=(), boost::multiprecision::number< Backend, ExpressionTemplates >::operator^=(), boost::multiprecision::number< Backend, ExpressionTemplates >::operator|=(), boost::spirit::x3::any_parser< Iterator, Attribute, Context >::parse(), boost::optional_detail::prevent_binding_rvalue_ref_to_optional_lvalue_ref(), boost::graph::named_graph< Graph, Vertex, VertexProperty >::removing_vertex(), and boost::conversion::detail::try_lexical_convert().

#define BOOST_STATIC_ASSERT_UNUSED_ATTRIBUTE