/usr/include/boost/vmd
NameSizeModeActions
array/-0755rm
detail/-0755rm
list/-0755rm
seq/-0755rm
tuple/-0755rm
array.hpp5010644editdlrm
assert.hpp19330644editdlrm
assert_is_array.hpp35420644editdlrm
assert_is_empty.hpp27580644editdlrm
assert_is_identifier.hpp54260644editdlrm
assert_is_list.hpp35010644editdlrm
assert_is_number.hpp20000644editdlrm
assert_is_seq.hpp34630644editdlrm
assert_is_tuple.hpp20460644editdlrm
assert_is_type.hpp34000644editdlrm
elem.hpp167470644editdlrm
empty.hpp9820644editdlrm
enum.hpp48030644editdlrm
equal.hpp33730644editdlrm
get_type.hpp42990644editdlrm
identity.hpp26290644editdlrm
is_array.hpp20500644editdlrm
is_empty.hpp34680644editdlrm
is_empty_array.hpp28790644editdlrm
is_empty_list.hpp21720644editdlrm
is_identifier.hpp42860644editdlrm
is_list.hpp20830644editdlrm
is_multi.hpp20870644editdlrm
is_number.hpp14210644editdlrm
is_parens_empty.hpp18660644editdlrm
is_seq.hpp18970644editdlrm
is_tuple.hpp10930644editdlrm
is_type.hpp20930644editdlrm
is_unary.hpp21110644editdlrm
list.hpp4960644editdlrm
not_equal.hpp35710644editdlrm
seq.hpp7960644editdlrm
size.hpp13230644editdlrm
to_array.hpp47350644editdlrm
to_list.hpp47210644editdlrm
to_seq.hpp47620644editdlrm
to_tuple.hpp48020644editdlrm
tuple.hpp8220644editdlrm
vmd.hpp17910644editdlrm
Edit: /usr/include/boost/vmd/is_identifier.hpp (4286B)
// (C) Copyright Edward Diener 2011-2015 // Use, modification and distribution are subject to 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_VMD_IS_IDENTIFIER_HPP) #define BOOST_VMD_IS_IDENTIFIER_HPP #include #if BOOST_PP_VARIADICS #include /* The succeeding comments in this file are in doxygen format. */ /** \file */ /** \def BOOST_VMD_IS_IDENTIFIER(...) \brief Tests whether a parameter is an identifier. ... = variadic parameters The first variadic parameter is required and it is the input to test. Further variadic parameters are optional and are identifiers to match. The data may take one of two forms; it is either one or more single identifiers or a single Boost PP tuple of identifiers. @code returns = 1 if the parameter is an identifier, otherwise 0. If the parameter is not an identifier, or if optional identifiers are specified and the identifier does not match any of the optional identifiers, the macro returns 0. @endcode Identifiers are registered in VMD with: @code #define BOOST_VMD_REG_XXX (XXX) where XXX is a v-identifier. @endcode The identifier must be registered to be found. Identifiers are pre-detected in VMD with: @code #define BOOST_VMD_DETECT_XXX_XXX where XXX is an identifier. @endcode If you specify optional identifiers and have not specified the detection of an optional identifier, that optional identifier will never match the input. If the input is not a VMD data type this macro could lead to a preprocessor error. This is because the macro uses preprocessor concatenation to determine if the input is an identifier once it is determined that the input does not start with parenthesis. If the data being concatenated would lead to an invalid preprocessor token the compiler can issue a preprocessor error. */ #define BOOST_VMD_IS_IDENTIFIER(...) \ BOOST_VMD_DETAIL_IS_IDENTIFIER(__VA_ARGS__) \ /**/ /** \def BOOST_VMD_IS_IDENTIFIER_D(d,...) \brief Tests whether a parameter is an identifier. Re-entrant version. d = The next available BOOST_PP_WHILE iteration.
... = variadic parameters The first variadic parameter is required and it is the input to test. Further variadic parameters are optional and are identifiers to match. The data may take one of two forms; it is either one or more single identifiers or a single Boost PP tuple of identifiers. @code returns = 1 if the parameter is an identifier, otherwise 0. If the parameter is not an identifier, or if optional identifiers are specified and the identifier does not match any of the optional identifiers, the macro returns 0. @endcode Identifiers are registered in VMD with: @code #define BOOST_VMD_REG_XXX (XXX) where XXX is a v-identifier. @endcode The identifier must be registered to be found. Identifiers are pre-detected in VMD with: @code #define BOOST_VMD_DETECT_XXX_XXX where XXX is an identifier. @endcode If you specify optional identifiers and have not specified the detection of an optional identifier, that optional identifier will never match the input. If the input is not a VMD data type this macro could lead to a preprocessor error. This is because the macro uses preprocessor concatenation to determine if the input is an identifier once it is determined that the input does not start with parenthesis. If the data being concatenated would lead to an invalid preprocessor token the compiler can issue a preprocessor error. */ #define BOOST_VMD_IS_IDENTIFIER_D(d,...) \ BOOST_VMD_DETAIL_IS_IDENTIFIER_D(d,__VA_ARGS__) \ /**/ #endif /* BOOST_PP_VARIADICS */ #endif /* BOOST_VMD_IS_IDENTIFIER_HPP */