mirror of
https://github.com/boostorg/parameter.git
synced 2026-01-19 16:32:13 +00:00
Compare commits
115 Commits
boost-1.35
...
svn-branch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7981ef509c | ||
|
|
7689b5b9d0 | ||
|
|
a28883d9ad | ||
|
|
45bac7b579 | ||
|
|
e4e6ba52c4 | ||
|
|
6bb4b0ef8b | ||
|
|
e0416b8343 | ||
|
|
f8a1b652bc | ||
|
|
f7611b8a1f | ||
|
|
493a8b28a5 | ||
|
|
32ec272b6d | ||
|
|
4c8c0cce93 | ||
|
|
8fc7ba81cc | ||
|
|
5b2b1a47f8 | ||
|
|
f3764c539e | ||
|
|
b67fbdff8f | ||
|
|
0e263f5602 | ||
|
|
3c815b31fe | ||
|
|
dbbe37b8c1 | ||
|
|
ce712b8f30 | ||
|
|
913fa2eb44 | ||
|
|
12c873d3e4 | ||
|
|
164c48c018 | ||
|
|
2ac8833532 | ||
|
|
6556e278c6 | ||
|
|
1a9e89cb8d | ||
|
|
6d53a2b914 | ||
|
|
c7296b9a05 | ||
|
|
6a5d61ce3c | ||
|
|
e887f199e0 | ||
|
|
e7bd42b07a | ||
|
|
b9248d774f | ||
|
|
763a09c5aa | ||
|
|
07987bc97c | ||
|
|
b59c238a83 | ||
|
|
9dfa5a8d9e | ||
|
|
3d0bdf694c | ||
|
|
b5c6e05ea0 | ||
|
|
cc2a478afc | ||
|
|
1dab8a1008 | ||
|
|
4facdaafc3 | ||
|
|
5190f65321 | ||
|
|
0335832574 | ||
|
|
b9f287ea52 | ||
|
|
28f98ecbf0 | ||
|
|
4e8c8ced0f | ||
|
|
5baef32925 | ||
|
|
cc8ca29980 | ||
|
|
e2405e2d00 | ||
|
|
1cba9bd634 | ||
|
|
e58e928af4 | ||
|
|
c3e842fc4c | ||
|
|
ab57984c04 | ||
|
|
a8dc2bbd25 | ||
|
|
bb838edb2f | ||
|
|
74b777612e | ||
|
|
ea4457878c | ||
|
|
1f3fb08086 | ||
|
|
702ca6af6e | ||
|
|
225a38b68a | ||
|
|
de756246e7 | ||
|
|
de67d5fe6d | ||
|
|
40332972ca | ||
|
|
47292301e7 | ||
|
|
7a5a21dacc | ||
|
|
04aaeef41d | ||
|
|
5a0bad4224 | ||
|
|
07f167eed3 | ||
|
|
b34aa49ceb | ||
|
|
f5dbd06b32 | ||
|
|
9bcd7c2fec | ||
|
|
7f2abce0d4 | ||
|
|
b7036ee04f | ||
|
|
36d25230e6 | ||
|
|
d298a327b5 | ||
|
|
8162166037 | ||
|
|
dbcf8de808 | ||
|
|
07893af4c5 | ||
|
|
2070231553 | ||
|
|
5b1971f1ef | ||
|
|
988bb4b365 | ||
|
|
64bfddc3a7 | ||
|
|
2a0397c1b2 | ||
|
|
decd9ac9fd | ||
|
|
a181afc699 | ||
|
|
a6db5788f6 | ||
|
|
d37e7cd513 | ||
|
|
6dd64214c2 | ||
|
|
96d3e0fd07 | ||
|
|
ac398b0e50 | ||
|
|
3f1f0657f6 | ||
|
|
abae0c8d21 | ||
|
|
892a599999 | ||
|
|
acbf69fdb6 | ||
|
|
566e886887 | ||
|
|
ae05e30eac | ||
|
|
310998435c | ||
|
|
647265bfd3 | ||
|
|
76af708b1f | ||
|
|
deb606ef59 | ||
|
|
721b294842 | ||
|
|
f40418cf9a | ||
|
|
b12dbd9f6a | ||
|
|
6087feef11 | ||
|
|
e7d652f208 | ||
|
|
51c3dd4cb1 | ||
|
|
8cf35658bd | ||
|
|
ee2b252418 | ||
|
|
45d320a434 | ||
|
|
76067ad5d2 | ||
|
|
15b0729181 | ||
|
|
23d30d9ea6 | ||
|
|
012e0abd22 | ||
|
|
225ee5072e | ||
|
|
384add2571 |
0
doc/Jamfile.v2
Normal file → Executable file
0
doc/Jamfile.v2
Normal file → Executable file
0
doc/html/index.html
Normal file → Executable file
0
doc/html/index.html
Normal file → Executable file
0
doc/html/reference.html
Normal file → Executable file
0
doc/html/reference.html
Normal file → Executable file
0
doc/html/rst.css
Normal file → Executable file
0
doc/html/rst.css
Normal file → Executable file
0
doc/html/vellipsis.gif
Normal file → Executable file
0
doc/html/vellipsis.gif
Normal file → Executable file
|
Before Width: | Height: | Size: 62 B After Width: | Height: | Size: 62 B |
2
doc/index.rst
Normal file → Executable file
2
doc/index.rst
Normal file → Executable file
@@ -82,7 +82,7 @@ __ ../../../../index.htm
|
||||
|
||||
.. _`Boost Consulting`: http://www.boost-consulting.com
|
||||
|
||||
.. _concepts: http://www.boost.org/more/generic_programming.html#concept
|
||||
.. _concepts: ../../../more/generic_programming.html#concept
|
||||
|
||||
-------------------------------------
|
||||
|
||||
|
||||
0
doc/python.rst
Normal file → Executable file
0
doc/python.rst
Normal file → Executable file
2
doc/reference.rst
Normal file → Executable file
2
doc/reference.rst
Normal file → Executable file
@@ -174,7 +174,7 @@ Concepts
|
||||
|
||||
This section describes the generic type concepts_ used by the Parameter library.
|
||||
|
||||
.. _concepts: http://www.boost.org/more/generic_programming.html#concept
|
||||
.. _concepts: ../../../../more/generic_programming.html#concept
|
||||
|
||||
|ArgumentPack|
|
||||
--------------
|
||||
|
||||
2
include/boost/parameter.hpp
Normal file → Executable file
2
include/boost/parameter.hpp
Normal file → Executable file
@@ -3,8 +3,6 @@
|
||||
// (See accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// See www.boost.org/libs/parameter for documentation.
|
||||
|
||||
#ifndef BOOST_PARAMETER_050401_HPP
|
||||
#define BOOST_PARAMETER_050401_HPP
|
||||
|
||||
|
||||
5
include/boost/parameter/aux_/arg_list.hpp
Normal file → Executable file
5
include/boost/parameter/aux_/arg_list.hpp
Normal file → Executable file
@@ -11,7 +11,6 @@
|
||||
#include <boost/parameter/aux_/default.hpp>
|
||||
#include <boost/parameter/aux_/parameter_requirements.hpp>
|
||||
#include <boost/parameter/aux_/yesno.hpp>
|
||||
#include <boost/parameter/aux_/maybe.hpp>
|
||||
#include <boost/parameter/config.hpp>
|
||||
|
||||
#include <boost/mpl/apply.hpp>
|
||||
@@ -159,6 +158,10 @@ no_tag operator*(empty_arg_list, KW*);
|
||||
template <class KW, class T>
|
||||
struct tagged_argument;
|
||||
|
||||
// Forward declaration for arg_list::operator[], with
|
||||
// IS_XXX helper
|
||||
struct maybe_base;
|
||||
|
||||
template <class T>
|
||||
struct is_maybe
|
||||
: is_base_and_derived<maybe_base, T>
|
||||
|
||||
0
include/boost/parameter/aux_/cast.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/cast.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/default.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/default.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/maybe.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/maybe.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/overloads.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/overloads.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/parameter_requirements.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/parameter_requirements.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/parenthesized_type.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/parenthesized_type.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/preprocessor/flatten.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/preprocessor/flatten.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/preprocessor/for_each.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/preprocessor/for_each.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/python/invoker.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/python/invoker.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/python/invoker_iterate.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/python/invoker_iterate.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/result_of0.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/result_of0.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/set.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/set.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/tag.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/tag.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/tagged_argument.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/tagged_argument.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/template_keyword.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/template_keyword.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/unwrap_cv_reference.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/unwrap_cv_reference.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/void.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/void.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/yesno.hpp
Normal file → Executable file
0
include/boost/parameter/aux_/yesno.hpp
Normal file → Executable file
0
include/boost/parameter/binding.hpp
Normal file → Executable file
0
include/boost/parameter/binding.hpp
Normal file → Executable file
0
include/boost/parameter/config.hpp
Normal file → Executable file
0
include/boost/parameter/config.hpp
Normal file → Executable file
0
include/boost/parameter/keyword.hpp
Normal file → Executable file
0
include/boost/parameter/keyword.hpp
Normal file → Executable file
2
include/boost/parameter/macros.hpp
Normal file → Executable file
2
include/boost/parameter/macros.hpp
Normal file → Executable file
@@ -21,7 +21,7 @@
|
||||
|
||||
#define BOOST_PARAMETER_FUN_TEMPLATE_HEAD0(n)
|
||||
|
||||
#if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
|
||||
#ifndef BOOST_NO_SFINAE
|
||||
|
||||
# define BOOST_PARAMETER_MATCH_TYPE(n, param) \
|
||||
BOOST_PP_EXPR_IF(n, typename) param::match \
|
||||
|
||||
0
include/boost/parameter/match.hpp
Normal file → Executable file
0
include/boost/parameter/match.hpp
Normal file → Executable file
3
include/boost/parameter/name.hpp
Normal file → Executable file
3
include/boost/parameter/name.hpp
Normal file → Executable file
@@ -16,8 +16,7 @@
|
||||
# include <boost/mpl/placeholders.hpp>
|
||||
|
||||
# if !defined(BOOST_NO_SFINAE) \
|
||||
&& !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) \
|
||||
&& !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
|
||||
&& !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)
|
||||
|
||||
# include <boost/utility/enable_if.hpp>
|
||||
# include <boost/mpl/lambda.hpp>
|
||||
|
||||
4
include/boost/parameter/parameters.hpp
Normal file → Executable file
4
include/boost/parameter/parameters.hpp
Normal file → Executable file
@@ -725,7 +725,7 @@ struct parameters
|
||||
// ::type).
|
||||
|
||||
|
||||
#if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
|
||||
#ifndef BOOST_NO_SFINAE
|
||||
// If NamedList satisfies the PS0, PS1, ..., this is a
|
||||
// metafunction returning parameters. Otherwise it
|
||||
// has no nested ::type.
|
||||
@@ -775,7 +775,7 @@ struct parameters
|
||||
#endif
|
||||
>
|
||||
struct match
|
||||
# if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
|
||||
# ifndef BOOST_NO_SFINAE
|
||||
: match_base<
|
||||
typename aux::make_arg_list<
|
||||
typename BOOST_PARAMETER_build_arg_list(
|
||||
|
||||
4
include/boost/parameter/preprocessor.hpp
Normal file → Executable file
4
include/boost/parameter/preprocessor.hpp
Normal file → Executable file
@@ -38,7 +38,7 @@
|
||||
|
||||
namespace boost { namespace parameter { namespace aux {
|
||||
|
||||
# if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
|
||||
# ifndef BOOST_NO_SFINAE
|
||||
|
||||
// Given Match, which is "void x" where x is an argument matching
|
||||
// criterion, extract a corresponding MPL predicate.
|
||||
@@ -353,7 +353,7 @@ struct funptr_predicate<void**>
|
||||
template<BOOST_PP_ENUM_PARAMS_Z(z, n, class ParameterArgumentType)>
|
||||
/**/
|
||||
|
||||
# if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
|
||||
# ifndef BOOST_NO_SFINAE
|
||||
# define BOOST_PARAMETER_FUNCTION_FWD_MATCH_Z(z, name, parameters, n) \
|
||||
, typename boost::parameter::aux::match< \
|
||||
parameters, BOOST_PP_ENUM_PARAMS(n, ParameterArgumentType) \
|
||||
|
||||
0
include/boost/parameter/python.hpp
Normal file → Executable file
0
include/boost/parameter/python.hpp
Normal file → Executable file
0
include/boost/parameter/value_type.hpp
Normal file → Executable file
0
include/boost/parameter/value_type.hpp
Normal file → Executable file
0
index.html
Normal file → Executable file
0
index.html
Normal file → Executable file
0
test/basics.cpp
Normal file → Executable file
0
test/basics.cpp
Normal file → Executable file
0
test/basics.hpp
Normal file → Executable file
0
test/basics.hpp
Normal file → Executable file
0
test/deduced.cpp
Normal file → Executable file
0
test/deduced.cpp
Normal file → Executable file
0
test/deduced.hpp
Normal file → Executable file
0
test/deduced.hpp
Normal file → Executable file
0
test/deduced_dependent_predicate.cpp
Normal file → Executable file
0
test/deduced_dependent_predicate.cpp
Normal file → Executable file
0
test/deduced_unmatched_arg.cpp
Normal file → Executable file
0
test/deduced_unmatched_arg.cpp
Normal file → Executable file
0
test/duplicates.cpp
Normal file → Executable file
0
test/duplicates.cpp
Normal file → Executable file
0
test/earwicker.cpp
Normal file → Executable file
0
test/earwicker.cpp
Normal file → Executable file
0
test/efficiency.cpp
Normal file → Executable file
0
test/efficiency.cpp
Normal file → Executable file
0
test/macros.cpp
Normal file → Executable file
0
test/macros.cpp
Normal file → Executable file
0
test/maybe.cpp
Normal file → Executable file
0
test/maybe.cpp
Normal file → Executable file
0
test/mpl.cpp
Normal file → Executable file
0
test/mpl.cpp
Normal file → Executable file
0
test/normalized_argument_types.cpp
Normal file → Executable file
0
test/normalized_argument_types.cpp
Normal file → Executable file
0
test/ntp.cpp
Normal file → Executable file
0
test/ntp.cpp
Normal file → Executable file
0
test/optional_deduced_sfinae.cpp
Normal file → Executable file
0
test/optional_deduced_sfinae.cpp
Normal file → Executable file
2
test/preprocessor.cpp
Normal file → Executable file
2
test/preprocessor.cpp
Normal file → Executable file
@@ -453,7 +453,7 @@ int main()
|
||||
, name = S("foo")
|
||||
);
|
||||
|
||||
#if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
|
||||
#ifndef BOOST_NO_SFINAE
|
||||
assert(sfinae("foo") == 1);
|
||||
assert(sfinae(1) == 0);
|
||||
|
||||
|
||||
0
test/preprocessor_deduced.cpp
Normal file → Executable file
0
test/preprocessor_deduced.cpp
Normal file → Executable file
0
test/python_test.cpp
Normal file → Executable file
0
test/python_test.cpp
Normal file → Executable file
6
test/sfinae.cpp
Normal file → Executable file
6
test/sfinae.cpp
Normal file → Executable file
@@ -9,7 +9,7 @@
|
||||
#include <string>
|
||||
#include <boost/type_traits/is_convertible.hpp>
|
||||
|
||||
#if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
|
||||
#ifndef BOOST_NO_SFINAE
|
||||
# include <boost/utility/enable_if.hpp>
|
||||
# include <boost/type_traits/is_same.hpp>
|
||||
#endif
|
||||
@@ -70,7 +70,7 @@ namespace test
|
||||
f_impl(args(a0, a1));
|
||||
}
|
||||
|
||||
#if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
|
||||
#ifndef BOOST_NO_SFINAE
|
||||
// On compilers that actually support SFINAE, add another overload
|
||||
// that is an equally good match and can only be in the overload set
|
||||
// when the others are not. This tests that the SFINAE is actually
|
||||
@@ -96,7 +96,7 @@ int main()
|
||||
f("foo", 3.f);
|
||||
f(value = 3.f, name = "foo");
|
||||
|
||||
#if ! defined(BOOST_NO_SFINAE) && ! BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x592))
|
||||
#ifndef BOOST_NO_SFINAE
|
||||
BOOST_TEST(f(3, 4) == 0);
|
||||
#endif
|
||||
return boost::report_errors();
|
||||
|
||||
0
test/singular.cpp
Normal file → Executable file
0
test/singular.cpp
Normal file → Executable file
0
test/timings.txt
Normal file → Executable file
0
test/timings.txt
Normal file → Executable file
0
test/tutorial.cpp
Normal file → Executable file
0
test/tutorial.cpp
Normal file → Executable file
0
test/unwrap_cv_reference.cpp
Normal file → Executable file
0
test/unwrap_cv_reference.cpp
Normal file → Executable file
Reference in New Issue
Block a user