Commit Graph

596 Commits

Author SHA1 Message Date
Edward Diener
e7c2118e91
Merge pull request #69 from CromwellEnage/feature_mp11
Modify MP11 support
2019-01-20 07:36:29 -05:00
CromwellEnage
6bce8119bf Disable MP11 usage for affected tests 2019-01-19 17:42:41 -05:00
CromwellEnage
fe73177b6c Modify MP11 support
These are breaking changes to PR #66.

* Remove are_tagged_arguments_mp11 and is_argument_pack_mp11.  They were reviewed as redundant.
* Remove MP11 support for ArgumentPack models for now.  (This feature relied on templates that were not supposed to be specialized.)
2019-01-19 15:15:20 -05:00
Cromwell D. Enage
59616f3a0a
Merge with boostorg/parameter 2019-01-19 13:20:19 -05:00
Edward Diener
54a3f15a57
Merge pull request #68 from CromwellEnage/doc_nullptr
Remove erroneous 'std::' prefix from nullptr in documentation
2019-01-19 11:23:48 -05:00
Edward Diener
9a84ed5cdb
Merge pull request #67 from CromwellEnage/remove_dependency_on_tti
Remove dependency on Boost.TTI
2019-01-19 11:23:01 -05:00
CromwellEnage
8d1c3f57a1 Remove erroneous 'std::' prefix from nullptr in documentation 2019-01-17 15:23:06 -05:00
CromwellEnage
fb5683766b Remove dependency on Boost.TTI
Replace BOOST_TTI_DETAIL_NULLPTR with BOOST_PARAMETER_AUX_PP_NULLPTR.
2019-01-17 15:14:48 -05:00
Cromwell D. Enage
977ff25b1b
Merge with boostorg/parameter 2019-01-17 15:00:27 -05:00
Edward Diener
4a5356b229
Merge pull request #66 from CromwellEnage/feature_mp11
Support Boost.MP11 when feasible
2019-01-16 18:44:14 -05:00
CromwellEnage
69db508992 Support Boost.MP11 when feasible
* Add are_tagged_arguments_mp11 and is_argument_pack_mp11 metafunctions when Boost.MP11 is usable.
* Predicate requirements can be encoded as Boost.MP11-style quoted metafunctions as well as by MPL binary metafunction classes.
* Argument packs qualify as Boost.MP11-style lists as well as MPL sequences.
* Internal components and test programs use Boost.MP11 and C++11 type traits vice MPL and Boost.TypeTraits when Boost.MP11 is usable.
2019-01-16 12:03:44 -05:00
Cromwell D. Enage
689a9525d4
Merge with boostorg/parameter 2019-01-16 09:57:59 -05:00
Edward Diener
e2896116be
Merge pull request #64 from CromwellEnage/feature_constexpr
Qualify applicable constructors & functions with BOOST_CONSTEXPR
2019-01-16 09:09:22 -05:00
Edward Diener
313cde1d99
Merge pull request #63 from CromwellEnage/test_suite
Update test suite
2019-01-16 09:08:43 -05:00
CromwellEnage
ead2cb4519 Qualify applicable constructors & functions with BOOST_CONSTEXPR
The reference documentation specifies this for some of the constructors and functions.
2019-01-16 03:43:48 -05:00
CromwellEnage
a2f68bea6c Update test suite
* Add "test/literate/parameter-enabled-function-call-operators0.cpp" to test suite under alias 'parameter_literate_tests'.
* Add compose() test routine to "test/compose.cpp"
* Replace LIBS_PARAMETER_TEST_COMPILE_FAILURE_MSVC with LIBS_PARAMETER_TEST_COMPILE_FAILURE_VENDOR_SPECIFIC in case compilers other than MSVC start exhibiting errant behavior.
* Adjust for the fact that BOOST_PARAMETER_MAX_ARITY is defined regardless of whether or not BOOST_PARAMETER_HAS_PERFECT_FORWARDING is defined.
* Use minimal file headers to #include vice <boost/parameter.hpp>.
2019-01-16 03:21:13 -05:00
Cromwell D. Enage
b5f02c0aaa
Merge with boostorg/parameter 2019-01-16 00:52:05 -05:00
Edward Diener
515c80fad5
Merge pull request #62 from CromwellEnage/test_deduced_unmatched_arg
Update deduced_unmatched_arg.cpp
2019-01-15 23:09:51 -05:00
Edward Diener
b531b64f7b
Merge pull request #61 from CromwellEnage/feature_compose_max_arity
Add configuration macro BOOST_PARAMETER_COMPOSE_MAX_ARITY
2019-01-15 23:08:22 -05:00
Edward Diener
1fde7ae869
Merge pull request #60 from CromwellEnage/test_fix
Fix typos
2019-01-15 23:07:46 -05:00
Edward Diener
cb267e5125
Merge pull request #58 from CromwellEnage/test_preprocessor_guards
Update BOOST_PARAMETER_*_ARITY preprocessor guard statements
2019-01-15 23:07:17 -05:00
Edward Diener
387449a12c
Merge pull request #57 from CromwellEnage/test_evaluate_category_16
Update evaluate_category_16.cpp
2019-01-15 23:06:55 -05:00
CromwellEnage
c465139bc2 Update deduced_unmatched_arg.cpp
* Normalize license wording.
* Add statements to #include header files that directly define components used in this test.
* Qualify by namespace vice using declarations.
2019-01-14 22:51:12 -05:00
CromwellEnage
e5337e2503 Add configuration macro BOOST_PARAMETER_COMPOSE_MAX_ARITY
Decouple the compose() function and the BOOST_PARAMETER_NO_SPEC_* code generation macros from BOOST_PARAMETER_MAX_ARITY for older compilers so their generated functions can take in more arguments.
2019-01-14 17:05:14 -05:00
CromwellEnage
f2083c84ec Fix typos 2019-01-14 16:55:16 -05:00
CromwellEnage
261819d9bb Update evaluate_category_16.cpp
* Update BOOST_PARAMETER_*_ARITY preprocessor guard statements.
* Use minimal header files to #include.
* Use namespace qualification
2019-01-14 14:46:20 -05:00
CromwellEnage
6451c94720 Update BOOST_PARAMETER_*_ARITY preprocessor guard statements 2019-01-14 14:43:08 -05:00
Cromwell D. Enage
b208f3a837
Merge with boostorg/parameter 2019-01-14 13:10:17 -05:00
Edward Diener
cadc4ecbff
Merge pull request #55 from CromwellEnage/test_efficiency
Use minimal header file to #include
2019-01-14 12:53:36 -05:00
Edward Diener
7c9e79aa6e
Merge pull request #54 from CromwellEnage/test_singular
Move #include statement to correct place
2019-01-14 12:50:53 -05:00
Edward Diener
b20458faa0
Merge pull request #53 from CromwellEnage/test_max_arity_preproc_guards
Update BOOST_PARAMETER_*_ARITY preprocessor guard statements
2019-01-14 12:49:33 -05:00
Edward Diener
f28b14e686
Merge pull request #52 from CromwellEnage/feature_compose_and_macros
Add are_tagged_arguments<>, compose(), and code generation macros
2019-01-14 12:47:54 -05:00
Edward Diener
5c3dc99d82
Merge pull request #50 from CromwellEnage/workaround_gcc3_or_less
Add workarounds for GCC 3.x or earlier
2019-01-14 12:46:44 -05:00
Edward Diener
55e977964a
Merge pull request #49 from CromwellEnage/doc_reference_upgrade
Upgrade reference documentation
2019-01-14 12:43:54 -05:00
Edward Diener
7a430fdfd0
Merge pull request #47 from CromwellEnage/feature_mp11
Introduce support for Boost.MP11
2019-01-14 12:43:30 -05:00
Edward Diener
dab935934e
Merge pull request #45 from CromwellEnage/preprocessor_generated_overloads
Upgrade code generation macros
2019-01-14 12:35:37 -05:00
Edward Diener
5d3964f4b6
Merge pull request #44 from CromwellEnage/literate_update
Update literate tests and tutorial documentation
2019-01-14 12:33:26 -05:00
Edward Diener
26cf7a7003
Merge pull request #42 from CromwellEnage/travis_upgrade
Upgrade .travis.yml
2019-01-14 12:32:32 -05:00
CromwellEnage
0a1cd586c0 Change access scope of implementation typedefs from public to private; change spelling 2019-01-14 00:23:59 -05:00
CromwellEnage
d5165a3388 Move #include statement to correct place 2019-01-13 22:58:46 -05:00
CromwellEnage
81406effc8 Upgrade reference documentation
* Add example to compose() function documentation.
* Add cross-referencing hyperlinks & hyperlinks to C++ standard documentation.
2019-01-13 22:53:31 -05:00
CromwellEnage
cada51d711 Fix numbering & const font 2019-01-13 22:35:33 -05:00
CromwellEnage
a9ee94a21b Use minimal header file to #include 2019-01-04 11:43:48 -05:00
CromwellEnage
af65130fa1 Update BOOST_PARAMETER_*_ARITY preprocessor guard statements
Adjust for the fact that BOOST_PARAMETER_MAX_ARITY is defined regardless of whether or not BOOST_PARAMETER_HAS_PERFECT_FORWARDING is defined.
2019-01-04 11:40:07 -05:00
CromwellEnage
a876a4b400 Move #include statement to correct place 2019-01-04 11:32:46 -05:00
CromwellEnage
016f949eba Add are_tagged_arguments<>, compose(), and code generation macros
* Add variadic metafunction boost::parameter::are_tagged_arguments to help improve overload resolution capabilities.  Used by compose() and the new BOOST_PARAMETER_NO_SPEC_* code generation macros.
* Add variadic function template compose() which takes in named arguments and returns them in an argument pack.
* Add code generation macros BOOST_PARAMETER_BASIC_FUNCTION_CALL_OPERATOR, BOOST_PARAMETER_BASIC_CONST_FUNCTION_CALL_OPERATOR, BOOST_PARAMETER_NO_SPEC_FUNCTION, BOOST_PARAMETER_NO_SPEC_MEMBER_FUNCTION, BOOST_PARAMETER_NO_SPEC_CONST_MEMBER_FUNCTION, BOOST_PARAMETER_NO_SPEC_FUNCTION_CALL_OPERATOR, BOOST_PARAMETER_NO_SPEC_CONST_FUNCTION_CALL_OPERATOR, BOOST_PARAMETER_NO_SPEC_CONSTRUCTOR, and BOOST_PARAMETER_NO_SPEC_NO_BASE_CONSTRUCTOR.
2019-01-04 08:39:53 -05:00
CromwellEnage
fe34412116 Add workarounds for GCC 3.x or earlier
* Fix compiler error: base `boost::reference_wrapper<int>' with only non-default constructor in class without a constructor.
* Ignore normalized_argument_types test failures.
2019-01-04 03:57:15 -05:00
CromwellEnage
dcef517081 Upgrade reference documentation
Add usage examples to & remove unnecessary implementation details from reference documentation.
2019-01-04 03:45:54 -05:00
CromwellEnage
c228d46eaf Introduce support for Boost.MP11
<boost/parameter/config.hpp>
* Introduce configuration macros BOOST_PARAMETER_CAN_USE_MP11 and BOOST_PARAMETER_DISABLE_MP11 usage.
* Update perfect forwarding support requirements to fix regressions on test matrix.

<boost/parameter/parameters.hpp>
* Allow mp11::mp_list to be default parameter_spec type if available.
2019-01-04 02:33:50 -05:00
CromwellEnage
250de8367d Upgrade code generation macros
Enable preprocessor-generated function call operator overloads & overloads of the same name to coexist even with deduced arguments.  SFINAE required.
2019-01-01 20:12:13 -05:00