/
usr
/
include
/
boost
/
spirit
/
home
/
support
/
/usr/include/boost/spirit/home/support
mkdir
upload
Name
Size
Mode
Actions
algorithm/
-
0755
rm
auto/
-
0755
rm
auxiliary/
-
0755
rm
char_encoding/
-
0755
rm
char_set/
-
0755
rm
detail/
-
0755
rm
iterators/
-
0755
rm
nonterminal/
-
0755
rm
utree/
-
0755
rm
action_dispatch.hpp
7518
0644
edit
dl
rm
adapt_adt_attributes.hpp
13835
0644
edit
dl
rm
argument.hpp
6649
0644
edit
dl
rm
argument_expression.hpp
2909
0644
edit
dl
rm
assert_msg.hpp
2273
0644
edit
dl
rm
attributes.hpp
45802
0644
edit
dl
rm
attributes_fwd.hpp
11871
0644
edit
dl
rm
auto.hpp
1298
0644
edit
dl
rm
char_class.hpp
32911
0644
edit
dl
rm
common_terminals.hpp
18649
0644
edit
dl
rm
container.hpp
15358
0644
edit
dl
rm
context.hpp
9365
0644
edit
dl
rm
extended_variant.hpp
5351
0644
edit
dl
rm
handles_container.hpp
2084
0644
edit
dl
rm
has_semantic_action.hpp
1517
0644
edit
dl
rm
info.hpp
4836
0644
edit
dl
rm
lazy.hpp
1225
0644
edit
dl
rm
limits.hpp
607
0644
edit
dl
rm
make_component.hpp
15593
0644
edit
dl
rm
meta_compiler.hpp
12503
0644
edit
dl
rm
modify.hpp
3765
0644
edit
dl
rm
multi_pass.hpp
1708
0644
edit
dl
rm
multi_pass_wrapper.hpp
1419
0644
edit
dl
rm
numeric_traits.hpp
3559
0644
edit
dl
rm
sequence_base_id.hpp
1362
0644
edit
dl
rm
string_traits.hpp
10474
0644
edit
dl
rm
terminal.hpp
23296
0644
edit
dl
rm
terminal_expression.hpp
583
0644
edit
dl
rm
unused.hpp
2347
0644
edit
dl
rm
utf8.hpp
3613
0644
edit
dl
rm
utree.hpp
812
0644
edit
dl
rm
Edit:
/usr/include/boost/spirit/home/support/assert_msg.hpp
(2273B)
// Copyright (c) 2001-2013 Hartmut Kaiser // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) #if !defined(BOOST_SPIRIT_ASSERT_MSG_JUN_23_2009_0836AM) #define BOOST_SPIRIT_ASSERT_MSG_JUN_23_2009_0836AM #if defined(_MSC_VER) #pragma once #endif #include <boost/config.hpp> // Work around the MPL problem in BOOST_MPL_ASSERT_MSG generating // multiple definition linker errors for certain compilers (VC++ 8). // BOOST_SPIRIT_DONT_USE_MPL_ASSERT_MSG can also be defined by user. #if !defined(BOOST_SPIRIT_DONT_USE_MPL_ASSERT_MSG) # if defined(BOOST_MSVC) && BOOST_MSVC < 1500 # define BOOST_SPIRIT_DONT_USE_MPL_ASSERT_MSG 1 # endif #endif #if !defined(BOOST_NO_CXX11_STATIC_ASSERT) || BOOST_SPIRIT_DONT_USE_MPL_ASSERT_MSG != 0 #include <boost/static_assert.hpp> #define BOOST_SPIRIT_ASSERT_MSG(Cond, Msg, Types) \ BOOST_STATIC_ASSERT_MSG(Cond, # Msg) #else #include <boost/mpl/assert.hpp> #define BOOST_SPIRIT_ASSERT_MSG(Cond, Msg, Types) \ BOOST_MPL_ASSERT_MSG(Cond, Msg, Types) #endif #define BOOST_SPIRIT_ASSERT_MATCH(Domain, Expr) \ BOOST_SPIRIT_ASSERT_MSG(( \ boost::spirit::traits::matches< Domain, Expr >::value \ ), error_invalid_expression, (Expr)) // GCC 4.7 will overeagerly instantiate static_asserts in template functions, // if the assert condition does not depend on template parameters // (see https://svn.boost.org/trac/boost/ticket/8381). // There are places where we want to use constant false as the condition in // template functions to indicate that these function overloads should never // be called. This allows to generate better error messages. To solve this // problem we make the condition dependent on the template argument and use // the following macro in such places. #include <boost/type_traits/is_same.hpp> #define BOOST_SPIRIT_ASSERT_FAIL(TemplateParam, Msg, Types) \ BOOST_SPIRIT_ASSERT_MSG((!boost::is_same< \ TemplateParam, TemplateParam >::value), Msg, Types) #endif
Save
cmd:
run