2
0
mirror of https://github.com/boostorg/variant.git synced 2026-01-19 04:42:16 +00:00

Commit Graph

  • 1231f51501 Initial implementation of a metaprogramming function, that is capable of detecting element index in variant::types. Some tests to make sure that no old valid code was broken Antony Polukhin 2014-12-09 17:31:41 +03:00
  • 5cd1e3ee85 More tests and minor fixes for variadic multi visitation Antony Polukhin 2014-12-08 14:00:42 +03:00
  • 0231eefd43 More docs and tests for new variadic templates related features; tune apply_visitor(visitor) to use variadic templates and be suitable for visitors with any count of input opertors Antony Polukhin 2014-12-05 18:02:46 +03:00
  • 2770d7569e Variadic templates based multivisitors now compile, result_type is determinated automatically if required Antony Polukhin 2014-12-05 14:51:58 +03:00
  • 6fff67381e Merge branch 'develop' into variadic_multivisitors Antony Polukhin 2014-12-05 12:01:38 +03:00
  • 6db941f3dd Added missing relational operators and their docs (refs trac #10811 and #8620) Antony Polukhin 2014-12-03 20:42:10 +03:00
  • ecdde80ea5 Some thoughts about multivisitors based on variadic templates Antony Polukhin 2014-12-03 19:25:47 +03:00
  • 940cfef1f6 Simplify Multi visitation section in Tutorial (refs trac #10653) Antony Polukhin 2014-12-02 19:52:26 +03:00
  • adb3d5c9bb Removed deprecated advice (refs trac #10273) Antony Polukhin 2014-12-02 19:16:19 +03:00
  • 20c7019799 Make sure that we do not occasionally disable variadic templates for Clang (refs trac #Clang compiler defines GNUC) Antony Polukhin 2014-12-02 19:10:18 +03:00
  • 6e31806038 Autodetect visitation result type for binary visitors (refs svn #10837) Antony Polukhin 2014-12-02 18:59:58 +03:00
  • f8a29a0d2f Autodetect visitation return type for unary visitors (refs svn #10837) Antony Polukhin 2014-12-02 17:48:57 +03:00
  • 81ef9229fb remove executable permission from a source file Antony Polukhin 2014-11-26 11:36:12 +03:00
  • 21eeb2e4d4 More Coverall fixes Antony Polukhin 2014-09-18 16:59:56 +04:00
  • 7fc1b93794 Final fixes Antony Polukhin 2014-09-18 16:42:30 +04:00
  • 4352cb4c17 Attempt to improve coverage tests 1 Antony Polukhin 2014-09-18 16:24:36 +04:00
  • 2131e0255f Attempt to improve coverage tests Antony Polukhin 2014-09-18 16:15:25 +04:00
  • 9ae87bfbd0 More TravisCI fixes and README improved Antony Polukhin 2014-09-18 15:24:52 +04:00
  • 29e6bd2c43 More TravisCI fixes Antony Polukhin 2014-09-18 15:05:20 +04:00
  • 4a55d87943 Script unification and minor improvements Antony Polukhin 2014-09-18 14:52:32 +04:00
  • ad350dde6e Script unification Antony Polukhin 2014-09-18 14:37:56 +04:00
  • 302afed1ba unification of script Antony Polukhin 2014-09-18 14:17:42 +04:00
  • 2569ca18ce Fixes 1 Antony Polukhin 2014-09-18 13:56:40 +04:00
  • a8b920532d Fixes Antony Polukhin 2014-09-18 13:44:47 +04:00
  • 384ac0dd4a Do not use nedpod archive Antony Polukhin 2014-09-18 13:37:49 +04:00
  • 3bb91f9a39 Add travisCI integration Antony Polukhin 2014-09-18 11:48:43 +04:00
  • ed614a6260 Applied patches from Boost.TypeIndex boost-1.57.0 Antony Polukhin 2014-09-02 12:04:27 +04:00
  • 30adb7fd45 Merge pull request #8 from danieljames/metadata Antony Polukhin 2014-08-18 19:54:37 +04:00
  • db42afbdfa Add metadata file. Daniel James 2014-08-18 15:12:28 +01:00
  • 8f111d3126 Fix compilation of static visitors on GCC4.5.1 Antony Polukhin 2014-08-15 11:48:26 +04:00
  • 7c85a3a6bb Merge pull request #6 from jzmaddock/patch-2 Antony Polukhin 2014-08-13 22:49:01 +04:00
  • 433d3aecab Update Jamfile.v2 jzmaddock 2014-08-13 18:39:23 +01:00
  • 1b50119b21 Fix issues reported by Boost Inspection Tool Antony Polukhin 2014-08-01 14:09:36 +04:00
  • cf3875bc22 Merge branch 'master' into develop Antony Polukhin 2014-08-01 14:07:14 +04:00
  • 65dae1db5a Merge branch 'develop' boost-1.56.0 Antony Polukhin 2014-06-25 20:26:25 +04:00
  • 4ad95f185b Minor improvements related to the forced_return() function Antony Polukhin 2014-06-23 21:04:48 +04:00
  • 0367512bc7 Fix for pull request #4 : make it possible to return movable-only structures; reduce resulting binary size by removing duplicate BOOST_ASSERTs Antony Polukhin 2014-06-23 20:10:10 +04:00
  • e1a611c000 Merge branch 'develop' Antony Polukhin 2014-05-18 11:58:19 +04:00
  • 134dfbf46e Do not use in hash tests. Added a few more tests for variant hashing Antony Polukhin 2014-05-07 18:49:09 +04:00
  • 92a530a2b9 Merge branch 'develop' Antony Polukhin 2014-05-04 14:12:28 +04:00
  • 9bc9c1c143 Do not use variadic templates on platforms that do not have full support of that feature Antony Polukhin 2014-04-24 11:53:00 +04:00
  • 5398f31ea2 Merge pull request #3 from ecatmur/make-recursive-variant-variadic Antony Polukhin 2014-04-11 14:20:37 +04:00
  • e30800b534 Substitute recursive variant tag within variadic templates (e.g. tuple) Ed Catmur 2014-04-09 21:05:58 +01:00
  • 9b04ff9221 Merge branch 'develop' Antony Polukhin 2014-02-21 15:02:39 +04:00
  • 7a5b0f2538 Suppress warnings and add BOOST_SYMBOL_VISIBLE to exceptions Antony Polukhin 2014-02-11 11:05:33 +04:00
  • 01a9630c37 Merge branch 'develop' Antony Polukhin 2014-02-04 15:23:34 +04:00
  • 0396d6c73d Allow rvalue-preformance-tests compilation in C++03 mode. This may be useful to measure performance of copy constructors/operators in C++03 Antony Polukhin 2014-02-03 16:52:34 +04:00
  • 63fb3ff427 Do not use variadic templates on MSVC2013 + add some tests to make sure that Spirit metaprogramming code works well with macro from Variant Antony Polukhin 2014-01-22 11:52:03 +04:00
  • 0d226eb597 Create first merge point for Git Antony Polukhin 2013-12-30 18:24:43 +04:00
  • 464799f446 Refs #9479 (polymorphic_get for Boost.Variant) Antony Polukhin 2013-12-10 16:13:49 +04:00
  • f59cdef172 Fix preprocessor code that detects variadic templates usabilty Antony Polukhin 2013-12-09 12:39:10 +04:00
  • e20324e2c4 Updated docs and variadic templates support Antony Polukhin 2013-12-02 17:26:20 +04:00
  • 0c0036aaf0 Merge branch 'develop' 20131209-master Antony Polukhin 2013-12-04 16:31:23 +04:00
  • af2b6f9af8 Merge remote-tracking branches 'origin/sandbox-branches/bhy/py3k', 'origin/sandbox-branches/birbacher/fix_documentation', 'origin/sandbox-branches/birbacher/fix_iostreams', 'origin/sandbox-branches/birbacher/propertymap-functormap', 'origin/sandbox-branches/intrusive_fix_SunCC', 'origin/sandbox-branches/optional_optimization', 'origin/sandbox-branches/straszheim/merge_me_into_trunk', 'origin/sandbox/trunk', 'origin/svn-branches/RC_1_31_0', 'origin/svn-branches/RC_1_32_0', 'origin/svn-branches/RC_1_33_0', 'origin/svn-branches/SPIRIT_MINIBOOST', 'origin/svn-branches/b2', 'origin/svn-branches/bcbboost', 'origin/svn-branches/bitten', 'origin/svn-branches/cpp0x', 'origin/svn-branches/doc', 'origin/svn-branches/doc-tools-docs', 'origin/svn-branches/filesystem-v3', 'origin/svn-branches/filesystem-v3a', 'origin/svn-branches/filesystem3', 'origin/svn-branches/fix-links', 'origin/svn-branches/function_signature_patches_1_31', 'origin/svn-branches/hash', 'origin/svn-branches/initializer-list', 'origin/svn-branches/inspect', 'origin/svn-branches/iostreams_dev', 'origin/svn-branches/maintenance/1_41', 'origin/svn-branches/maintenance/1_50_0', 'origin/svn-branches/modular-build', 'origin/svn-branches/mpl_v2_2', 'origin/svn-branches/multi_array', 'origin/svn-branches/pdimov_pre_136', 'origin/svn-branches/phoenix_v3', 'origin/svn-branches/proto/v3', 'origin/svn-branches/proto/v4', 'origin/svn-branches/proto/v4.bak', 'origin/svn-branches/quickbook-dev', 'origin/svn-branches/quickbook-filenames', 'origin/svn-branches/serialization_next_release', 'origin/svn-branches/sredl_2009_05_proptree_update', 'origin/svn-branches/system', 'origin/svn-branches/thread_rewrite', 'origin/svn-branches/units/autoprefix', 'origin/svn-branches/xpressive/nested_dynamic_regex', 'origin/svn-tags/RC_1_34_0_freeze', 'origin/svn-tags/SPIRIT_1_8_5_MINIBOOST', 'origin/svn-tags/SPIRIT_MINIBOOST_1_34_0', 'origin/svn-tags/merged_to_RC_', 'origin/svn-tags/merged_to_RC_1_31_0', 'origin/svn-tags/merged_to_RC_1_33_0', 'origin/svn-tags/merged_to_RC_1_34_0' and 'origin/svn-tags/minmax' into develop Antony Polukhin 2013-12-04 16:08:44 +04:00
  • 592e1b5339 Merge some more changes to variant that accidentaly were not merged in r86650 Antony Polukhin 2013-11-13 12:24:00 +00:00
  • a2523c620d Merge some changes to variant that accidentaly were not merged in r86650 Antony Polukhin 2013-11-13 12:20:05 +00:00
  • e70b03583f Merge from trunk: * dropped support of antique compilers * fixed issue with ambiguity in swap (fixes #2839) * added conditional noexcepts to move assignments, default and move constructors (fixes #7911) * experimental variadic templates support (refs #9163) * bunch of size optimizations for assignments and move assignments (refs #7960) * minor changes and size optimizations Antony Polukhin 2013-11-12 10:16:15 +00:00
  • e375806eea Release 1.55.0 boost-1.55.0 Marshall Clow 2013-11-11 19:45:21 +00:00
  • 724f7fdebc Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION 20131209-develop Stephen Kelly 2013-10-11 23:20:59 +00:00
  • 037af28f3d Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION Stephen Kelly 2013-10-11 23:17:48 +00:00
  • ee19ae6fb5 Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION Stephen Kelly 2013-10-11 23:13:10 +00:00
  • 2cbea14c39 More noexcept modifiers, especially for some of boost::get(T*) and assign/move_assign helpers (refs #7960) Antony Polukhin 2013-10-04 06:48:59 +00:00
  • 3ed1af5e79 Detect noexcept specification for default constructor of variant (refs #7911) Antony Polukhin 2013-10-02 13:13:17 +00:00
  • ac98e0ce4e Removed duplicate code in assign<->move_assign, added const modifiers (refs #7960) Antony Polukhin 2013-10-02 12:41:09 +00:00
  • 57f1c98b29 Mark move assignment with noexcept if possible (refs #7911) Antony Polukhin 2013-09-30 14:55:28 +00:00
  • 0d43b3ec34 Commit missing test file for Boost.Variant and uncomment line in Jamfile (refs #2839) Antony Polukhin 2013-09-30 07:39:25 +00:00
  • b0ec38cbc4 Fix overall Boost testing because of missing file. Rene Rivera 2013-09-28 20:02:17 +00:00
  • a283053408 Remove obsolete MSVC check from pragma guard Stephen Kelly 2013-09-26 13:02:51 +00:00
  • 84bdf52f3f Variant: Remove use of obsolete macros. Stephen Kelly 2013-09-26 09:48:32 +00:00
  • 0e0e0604e4 Variant: Remove obsolete MSVC version checks. Stephen Kelly 2013-09-26 09:48:16 +00:00
  • 1bf7b791fd Variant: Remove obsolete eti workaround. Stephen Kelly 2013-09-26 09:47:54 +00:00
  • 97e5305d6b Fix MSVC warning in Boost.Variant (refs #3020) Antony Polukhin 2013-09-26 07:46:25 +00:00
  • 791f267dda Optimize and fix ambiguity of move_swap in Boost.Variant (refs #2839) Fix GCC-4.8+ warning in variant_reference_test.cpp Antony Polukhin 2013-09-26 07:29:25 +00:00
  • d8180bc3a8 Add experimental variadic templates support to Boost.Variant, enable usage of variadic version for gcc-4.8, clang-3.0 and later compilers (refs #9163) With this patch size of a binary siginificantly reduced (up to two times) Antony Polukhin 2013-09-25 11:54:19 +00:00
  • a1b3867b3a Remove use of obsolete BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE{,_SPEC} macro. Stephen Kelly 2013-09-25 10:29:44 +00:00
  • 4254803c98 Remove use of obsolete BOOST_EXPLICIT_TEMPLATE_TYPE{,_SPEC} macros. Stephen Kelly 2013-09-25 10:28:56 +00:00
  • 36f0de3896 Create branch to keep WIP patch for modular build. Vladimir Prus 2013-09-25 08:12:19 +00:00
  • e05edc0248 Merge from trunk: * Add some merge infos * Fix unreachable code warning (fixes #8665) Antony Polukhin 2013-09-25 08:04:36 +00:00
  • 6db57f7d6b Fix unreachable code warning, thanks 'hvemha' for providing it (refs #8665) Antony Polukhin 2013-09-25 07:13:57 +00:00
  • 76f2c0fc19 Merge from trunk: * Fix issue with const rvalue references in Boost.Variant (fixes #8988) * Get rid of Boost.Variant hand written non-usable move emulation and use Boost.Move instead(refs #7601). This does not mean that Boost.Variant supports move emulation now, but removes duplicate/non-working code and makes sure that Boost.Variant is able to work with boost::move Antony Polukhin 2013-08-20 09:03:29 +00:00
  • 1b57cf1ade Fix issue with const rvalue references in Boost.Variant (refs #8988) Antony Polukhin 2013-08-12 12:00:13 +00:00
  • f9d2d9f9d9 Get rid of Boost.Variant hand written non-usable move emulation and use Boost.Move instead (refs #7601). This commit does not make Boost.Variant use move emulated assignments in all situations, but at least removes duplicate/non-working code and makes sure that Boost.Variant is able to work with boost::move (one step closer to full support of rvalue references emulations). Antony Polukhin 2013-07-25 13:19:50 +00:00
  • 8507087c59 Merge from trunk: * make the library work on exception-disabled environments (fixes #8717) * fix compilation of Boost.Variants move assignment for situations when one of the variant template classes has nothrow copy constructor and throwing move constructor (fixes #8772) * mark move constructor of variant with BOOST_NOEXCEPT_IF (refs #7911) Antony Polukhin 2013-07-25 08:42:44 +00:00
  • 86165b88e3 Temporary disable noexcept detection for move assignment for Boost.Variant (exception specification detection for assignment requires call to is_nothrow_move_assignable for each type. But GCC 4.6 fails to do that and complains about incomplete types ) (refs #7911) Antony Polukhin 2013-07-20 17:20:02 +00:00
  • e8e060416c Fix test case (refs #8772) Antony Polukhin 2013-07-20 15:32:31 +00:00
  • eebda61e78 Make Boost.Variant work on exception-disabled environments (refs #8717) Antony Polukhin 2013-07-19 11:40:06 +00:00
  • a3eb4ddd48 Fix compilation of Boost.Variants move assignment for situations when one of the variant template classes has nothrow copy constructor and throwing move constructor (refs #8772) Antony Polukhin 2013-07-19 07:52:40 +00:00
  • e6014a3e21 Added code (and tests) to mark move constructors and move assignemnt of Boost.Variant as noexcept if possible (refs #7911) Antony Polukhin 2013-07-19 07:43:03 +00:00
  • be1b0f5e31 Release 1.54.0 boost-1.54.0 Marshall Clow 2013-07-01 16:53:14 +00:00
  • f17d91a8b4 Merge from trunk GCC workaround (fixes #8651) Antony Polukhin 2013-06-12 08:08:58 +00:00
  • 3d44c5b695 Workaround for GCC bug (refs #8651) Antony Polukhin 2013-06-08 07:32:22 +00:00
  • 3d62c054d3 Release 1.54.0 beta1 boost-1.54.0-beta1 Marshall Clow 2013-06-03 14:02:28 +00:00
  • 3e02b4963d Merge Boost.Variant from trunk * documentation, tests and implementation of multivisitors (fixes #8459) Antony Polukhin 2013-05-14 18:19:39 +00:00
  • f5f3769cd4 Update Boost.Variant documentation, add info about multivisitors (refs #8459) Antony Polukhin 2013-05-10 16:30:12 +00:00
  • 64673bf9df Added one more test for multivisitors that will be used as an example in documentation (refs #8459) Antony Polukhin 2013-05-10 14:08:49 +00:00
  • bc54cab94e Multivisitors commit (refs #8459) Antony Polukhin 2013-05-02 16:45:58 +00:00
  • a4eaf348ea Merge from trunk: * Update docs of Boost.Variant. Add advice about recursive_wrapper performance (fixes #7718) Antony Polukhin 2013-05-02 09:58:56 +00:00
  • 6c26dd544d Update docs of Boost.Variant. Add advice about recursive_wrapper performance (refs #7718) Antony Polukhin 2013-05-02 08:39:34 +00:00
  • 54ea9c42a1 Merge fom trunk: * Boost.Variant now uses traits from Boost.TypeTraits instead of its own (fixes #8296) Antony Polukhin 2013-03-24 16:18:12 +00:00
  • efd81f5a2a Use is_nothrow_move_constructible from Boost.TypeTraits in Boost.Variant (refs #8296) Antony Polukhin 2013-03-16 10:50:44 +00:00