/
usr
/
include
/
boost
/
vmd
/
/usr/include/boost/vmd
mkdir
upload
Name
Size
Mode
Actions
array/
-
0755
rm
detail/
-
0755
rm
list/
-
0755
rm
seq/
-
0755
rm
tuple/
-
0755
rm
array.hpp
501
0644
edit
dl
rm
assert.hpp
1933
0644
edit
dl
rm
assert_is_array.hpp
3542
0644
edit
dl
rm
assert_is_empty.hpp
2758
0644
edit
dl
rm
assert_is_identifier.hpp
5426
0644
edit
dl
rm
assert_is_list.hpp
3501
0644
edit
dl
rm
assert_is_number.hpp
2000
0644
edit
dl
rm
assert_is_seq.hpp
3463
0644
edit
dl
rm
assert_is_tuple.hpp
2046
0644
edit
dl
rm
assert_is_type.hpp
3400
0644
edit
dl
rm
elem.hpp
16747
0644
edit
dl
rm
empty.hpp
982
0644
edit
dl
rm
enum.hpp
4803
0644
edit
dl
rm
equal.hpp
3373
0644
edit
dl
rm
get_type.hpp
4299
0644
edit
dl
rm
identity.hpp
2629
0644
edit
dl
rm
is_array.hpp
2050
0644
edit
dl
rm
is_empty.hpp
3468
0644
edit
dl
rm
is_empty_array.hpp
2879
0644
edit
dl
rm
is_empty_list.hpp
2172
0644
edit
dl
rm
is_identifier.hpp
4286
0644
edit
dl
rm
is_list.hpp
2083
0644
edit
dl
rm
is_multi.hpp
2087
0644
edit
dl
rm
is_number.hpp
1421
0644
edit
dl
rm
is_parens_empty.hpp
1866
0644
edit
dl
rm
is_seq.hpp
1897
0644
edit
dl
rm
is_tuple.hpp
1093
0644
edit
dl
rm
is_type.hpp
2093
0644
edit
dl
rm
is_unary.hpp
2111
0644
edit
dl
rm
list.hpp
496
0644
edit
dl
rm
not_equal.hpp
3571
0644
edit
dl
rm
seq.hpp
796
0644
edit
dl
rm
size.hpp
1323
0644
edit
dl
rm
to_array.hpp
4735
0644
edit
dl
rm
to_list.hpp
4721
0644
edit
dl
rm
to_seq.hpp
4762
0644
edit
dl
rm
to_tuple.hpp
4802
0644
edit
dl
rm
tuple.hpp
822
0644
edit
dl
rm
vmd.hpp
1791
0644
edit
dl
rm
Edit:
/usr/include/boost/vmd/get_type.hpp
(4299B)
// (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_GET_TYPE_HPP) #define BOOST_VMD_GET_TYPE_HPP #include <boost/vmd/detail/setup.hpp> #if BOOST_PP_VARIADICS #include <boost/vmd/detail/sequence_type.hpp> /* The succeeding comments in this file are in doxygen format. */ /** \file */ /** \def BOOST_VMD_GET_TYPE(...) \brief Returns the type of a sequence as a VMD type. ... = variadic parameters. The first variadic parameter is required and is the sequence whose type we are getting. The optional variadic parameters are return type parameters. The macro returns the type of a sequence as a VMD type. The type of an empty sequence is always BOOST_VMD_TYPE_EMPTY and the type of a multi-element is always BOOST_VMD_TYPE_SEQUENCE. The type of a single-element sequence is the type of that single element. The type returned can be modified by specifying an optional return type parameter. If BOOST_VMD_RETURN_TYPE, the default, is specified the specific type of the element is returned. If BOOST_VMD_RETURN_TYPE_ARRAY is specified an array type is returned if the element is an array, else a tuple type is returned if the element is a tuple, else the actual type is returned for non-tuple data. If BOOST_VMD_RETURN_TYPE_LIST is specified a list type is returned if the element is a list, else a tuple type is returned if the element is a tuple, else the actual type is returned for non-tuple data. If BOOST_VMD_RETURN_TYPE_TUPLE is specified a tuple type is returned for all tuple-like data, else the actual type is returned for non-tuple data. If BOOST_VMD_RETURN_NO_TYPE is specified it is ignored since the macro always returns the type of the sequence. If more than one return type optional parameter is specified the last one specified determines the return type. returns = the type of the sequence as a VMD type. */ #define BOOST_VMD_GET_TYPE(...) \ BOOST_VMD_DETAIL_SEQUENCE_TYPE(__VA_ARGS__) \ /**/ /** \def BOOST_VMD_GET_TYPE_D(d,...) \brief Returns the type of a sequence as a VMD type. Re-entrant version. d = The next available BOOST_PP_WHILE iteration. <br/> ... = variadic parameters. The first variadic parameter is required and is the sequence whose type we are getting. The optional variadic parameters are return type parameters. The macro returns the type of a sequence as a VMD type. The type of an empty sequence is always BOOST_VMD_TYPE_EMPTY and the type of a multi-element is always BOOST_VMD_TYPE_SEQUENCE. The type of a single-element sequence is the type of that single element. The type returned can be modified by specifying an optional return type parameter. If BOOST_VMD_RETURN_TYPE, the default, is specified the specific type of the element is returned. If BOOST_VMD_RETURN_TYPE_ARRAY is specified an array type is returned if the element is an array, else a tuple type is returned if the element is a tuple, else the actual type is returned for non-tuple data. If BOOST_VMD_RETURN_TYPE_LIST is specified a list type is returned if the element is a list, else a tuple type is returned if the element is a tuple, else the actual type is returned for non-tuple data. If BOOST_VMD_RETURN_TYPE_TUPLE is specified a tuple type is returned for all tuple-like data, else the actual type is returned for non-tuple data. If BOOST_VMD_RETURN_NO_TYPE is specified it is ignored since the macro always returns the type of the sequence. If more than one return type optional parameter is specified the last one specified determines the return type. returns = the type of the sequence as a VMD type. */ #define BOOST_VMD_GET_TYPE_D(d,...) \ BOOST_VMD_DETAIL_SEQUENCE_TYPE_D(d,__VA_ARGS__) \ /**/ #endif /* BOOST_PP_VARIADICS */ #endif /* BOOST_VMD_GET_TYPE_HPP */
Save
cmd:
run