Commit Graph

351 Commits

Author SHA1 Message Date
Stephen Kelly
4254803c98 Remove use of obsolete BOOST_EXPLICIT_TEMPLATE_TYPE{,_SPEC} macros.
[SVN r85894]
2013-09-25 10:28:56 +00:00
Antony Polukhin
6db57f7d6b Fix unreachable code warning, thanks 'hvemha' for providing it (refs #8665)
[SVN r85876]
2013-09-25 07:13:57 +00:00
Antony Polukhin
1b57cf1ade Fix issue with const rvalue references in Boost.Variant (refs #8988)
[SVN r85315]
2013-08-12 12:00:13 +00:00
Antony Polukhin
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).
[SVN r85159]
2013-07-25 13:19:50 +00:00
Antony Polukhin
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)
[SVN r85089]
2013-07-20 17:20:02 +00:00
Antony Polukhin
eebda61e78 Make Boost.Variant work on exception-disabled environments (refs #8717)
[SVN r85081]
2013-07-19 11:40:06 +00:00
Antony Polukhin
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)
[SVN r85080]
2013-07-19 07:52:40 +00:00
Antony Polukhin
e6014a3e21 Added code (and tests) to mark move constructors and move assignemnt of Boost.Variant as noexcept if possible (refs #7911)
[SVN r85079]
2013-07-19 07:43:03 +00:00
Antony Polukhin
3d44c5b695 Workaround for GCC bug (refs #8651)
[SVN r84683]
2013-06-08 07:32:22 +00:00
Antony Polukhin
bc54cab94e Multivisitors commit (refs #8459)
[SVN r84112]
2013-05-02 16:45:58 +00:00
Antony Polukhin
efd81f5a2a Use is_nothrow_move_constructible from Boost.TypeTraits in Boost.Variant (refs #8296)
[SVN r83458]
2013-03-16 10:50:44 +00:00
Antony Polukhin
7c2576948d Refs #7718 :
Workaroung GCC-4.7.2 internal compiler error
More functions marked with BOOST_NOEXCEPT
Added move constructors and move assignment operators to recursive_wrapper

[SVN r81652]
2012-12-01 15:32:07 +00:00
Marshall Clow
b173a982e9 Fix a couple more deprecated macros in Boost.Variant
[SVN r81626]
2012-11-29 17:03:40 +00:00
Antony Polukhin
d1376d9783 Basic rvalues and C++11 support part 2 (refs #7718 , all bugs from patch were fixed)
[SVN r81617]
2012-11-28 19:20:19 +00:00
Marshall Clow
21b9130e3a Remove usage of deprecated macros
[SVN r81472]
2012-11-22 06:13:20 +00:00
Antony Polukhin
f398fb9b2a Added basic rvalue support and marked some functions with BOOST_NOEXCEPT (#refs #7620)
[SVN r81293]
2012-11-11 08:04:55 +00:00
Steven Watanabe
78d52b15cc Make sure that variants with more than 20 types work.
[SVN r77098]
2012-02-23 01:14:13 +00:00
Antony Polukhin
2bef470d77 Fixes #6163 (hash function for variant added)
[SVN r75606]
2011-11-22 16:05:44 +00:00
Steven Watanabe
f9e03b6053 Supress warnings from variant. Refs #4666.
[SVN r71083]
2011-04-07 15:35:56 +00:00
Steven Watanabe
e5547f95bc Avoid a quadratic number of template instantations when using the general case implementation of assignment (with backup storage). This significantly improves compile times for variants with a large number of variant types. See the thread starting at http://lists.boost.org/boost-users/2011/01/65416.php.
[SVN r67798]
2011-01-08 22:44:06 +00:00
Steven Watanabe
0aae21dc6e Make operator() const. Fixes #4967
[SVN r67605]
2011-01-03 05:06:52 +00:00
Steven Watanabe
3f255f9108 Avoid error instantiating map with recursive_variant_. Disable ADL to make instantiation less likely. Fixes #4584.
[SVN r67604]
2011-01-03 04:57:44 +00:00
Steven Watanabe
40614b7c73 Use the least common multiple of alignments instead of the max. Fixes #993
[SVN r62754]
2010-06-10 18:45:14 +00:00
Steven Watanabe
392fab2f89 Make sure that recursive_variant_ substitution works in all cases. Fixes #1654
[SVN r62753]
2010-06-10 18:16:19 +00:00
Steven Watanabe
7afab43f31 Add missing #includes. Fixes #3515
[SVN r62698]
2010-06-09 23:41:38 +00:00
John Maddock
0110af77a4 Fix various Variant warnings.
Addresses issue #1507.

[SVN r57631]
2009-11-13 10:07:30 +00:00
Hartmut Kaiser
79f5d17b43 Variant: silenced a couple of MSVC warnings created during Spirit test runs
[SVN r57501]
2009-11-09 03:56:25 +00:00
Daniel James
5d727edcff Support BOOST_NO_TYPEID and BOOST_NO_IOSTREAM in Boost.Variant. Fixes #3051.
[SVN r53682]
2009-06-06 11:46:24 +00:00
Beman Dawes
769ecfba29 // Add or correct comment identifying Boost library this header is associated with.
[SVN r41173]
2007-11-17 20:13:16 +00:00
Eric Friedman
126fb460ce Fix to make direct assignment actually possible.
[SVN r34174]
2006-06-05 02:00:58 +00:00
Eric Friedman
bb9462cfd4 Incorrect usage of bool_trait_(un)def headers, see Bug #1359257.
[SVN r31782]
2005-11-26 05:43:26 +00:00
John Maddock
93353f3afc Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
[SVN r30670]
2005-08-25 16:27:28 +00:00
Aleksey Gurtovoy
649ac735ce fix MSVC failures
[SVN r25224]
2004-09-19 11:49:49 +00:00
Eric Friedman
8c5a3ad87a Reflect macro name change in MPL.
[SVN r25219]
2004-09-19 10:13:06 +00:00
Aleksey Gurtovoy
14547949ec merge new MPL version from 'mplbook' branch
[SVN r24874]
2004-09-02 15:41:37 +00:00
John Maddock
953a3bceed Converted files to the BSL.
[SVN r24614]
2004-08-20 11:10:24 +00:00
Douglas Gregor
ed1f810071 License updates
[SVN r24597]
2004-08-19 15:19:17 +00:00
John Maddock
d8c4815b25 Updated license (with permissions from blanket-permission.txt).
[SVN r24552]
2004-08-18 12:34:14 +00:00
Douglas Gregor
296458bca2 Converted to Boost Software License, Version 1.0
[SVN r24055]
2004-07-26 00:32:12 +00:00
Eric Friedman
c5c2446344 Updated workaround and defect macros to reflect new Metrowerks and Intel versions.
[SVN r21711]
2004-01-14 00:09:30 +00:00
Eric Friedman
5e5e90aea5 Updated workaround to reflect new version of CodeWarrior.
[SVN r21654]
2004-01-13 01:52:47 +00:00
Eric Friedman
46c5c15a62 Updated boost::get<T>(const) now returns const T.
[SVN r21385]
2003-12-23 22:50:06 +00:00
Eric Friedman
137ee928f4 Eliminated use of home-rolled enable_if implementation.
[SVN r21158]
2003-12-06 04:01:30 +00:00
Eric Friedman
22915e61f0 Temporary Borland alignment workaround.
[SVN r21020]
2003-12-01 00:18:18 +00:00
Eric Friedman
4e88342d88 Fixed swap between stack and heap-backup variants (correctness at expense of efficiency...).
[SVN r20978]
2003-11-28 05:04:05 +00:00
Eric Friedman
2e943c73bd Dependency elimination.
[SVN r20762]
2003-11-08 12:52:22 +00:00
Eric Friedman
cfc4894a71 Fixed MPL dependencies.
[SVN r20761]
2003-11-08 12:49:14 +00:00
Eric Friedman
ed5c9c1871 Added missing dependency.
[SVN r20760]
2003-11-08 12:47:02 +00:00
Eric Friedman
58ba3d8018 Now calculates fallback type index during search (instead of on second pass).
[SVN r20759]
2003-11-08 12:45:54 +00:00
Eric Friedman
bf92272e54 Added support for zero-argument function types.
[SVN r20747]
2003-11-08 09:23:17 +00:00
Eric Friedman
34eb31c151 Added support for substitution in function types.
[SVN r20746]
2003-11-08 09:18:28 +00:00
Eric Friedman
5f5f81504c Moved NO_SFINAE defect macro to config.hpp.
[SVN r20737]
2003-11-08 04:57:55 +00:00
Eric Friedman
c0691d4441 More structured approach to disabling reference support.
[SVN r20736]
2003-11-08 04:57:12 +00:00
Eric Friedman
8aac1c4a7d Added NO_REFERENCE_SUPPORT defect macro.
[SVN r20735]
2003-11-08 04:56:06 +00:00
Eric Friedman
776d56c5db Initial release.
[SVN r20734]
2003-11-08 04:55:09 +00:00
Eric Friedman
758fcbb8f6 Fix in workaround.
[SVN r20731]
2003-11-07 23:17:22 +00:00
Eric Friedman
f839c6bbdc MSVC workaround.
[SVN r20730]
2003-11-07 23:16:50 +00:00
Eric Friedman
51294b1db4 1) Refactored internal_apply_visitor; 2) MSVC workaround.
[SVN r20729]
2003-11-07 23:16:31 +00:00
Eric Friedman
200407418c Updated comments.
[SVN r20726]
2003-11-07 06:05:51 +00:00
Eric Friedman
2d882c0dde 1) variant<type-seq> is now spelled make_variant_over<type-seq>::type; 2) recursive_variant is now spelled make_recursive_variant.
[SVN r20724]
2003-11-07 06:02:05 +00:00
Eric Friedman
2528a06f2c Simplified workaround.
[SVN r20718]
2003-11-07 04:54:21 +00:00
Eric Friedman
83ba0b3bc7 Minor fix.
[SVN r20717]
2003-11-07 04:52:16 +00:00
Eric Friedman
8e97059b38 Renamed boost::empty to boost::blank.
[SVN r20676]
2003-11-05 02:35:12 +00:00
Eric Friedman
aff5dc1069 Reflects boost::empty -> boost::blank change, eliminated variant<> syntax, and variant::empty() always false.
[SVN r20675]
2003-11-05 02:34:53 +00:00
Eric Friedman
eb48bd115b Optimized index lookup for fallback type.
[SVN r20628]
2003-11-04 03:45:00 +00:00
Eric Friedman
0ace0eef47 1) Bug fix-- proper which-index for fallback type; and 2) optimization of backup_assigner.
[SVN r20627]
2003-11-04 03:05:00 +00:00
Eric Friedman
0e76995bff Added missing dependency.
[SVN r20579]
2003-10-31 21:30:07 +00:00
Eric Friedman
85e6ddd879 Fixed variant< empty-seq > bug.
[SVN r20578]
2003-10-31 21:28:44 +00:00
Eric Friedman
c5d4a2fc7b Factored enable_recursive-style substitution into own facility.
[SVN r20492]
2003-10-25 10:39:28 +00:00
Eric Friedman
c989351673 Bug fix.
[SVN r20491]
2003-10-25 09:01:50 +00:00
Eric Friedman
851a870a1c Now prefers boost::empty as falback type.
[SVN r20415]
2003-10-20 02:14:58 +00:00
Eric Friedman
8a6c13fc4c Factored fallback-type search into metafunction.
[SVN r20414]
2003-10-20 00:50:33 +00:00
Eric Friedman
48e0f9b60a null_storage no longer necessary.
[SVN r20413]
2003-10-20 00:32:31 +00:00
Eric Friedman
5e54074563 Now avoids heap if *any* bounded type is nothrow default-constructible.
[SVN r20315]
2003-10-08 23:39:03 +00:00
Eric Friedman
51eb17b4e1 Fix for MSVC6 workaround.
[SVN r20269]
2003-10-07 00:21:57 +00:00
Eric Friedman
6dd8ecbcaf Compile-time optimizations.
[SVN r20260]
2003-10-06 00:06:23 +00:00
Eric Friedman
b38f976f2a Workaround for compilers lacking member class template support.
[SVN r20259]
2003-10-05 22:58:38 +00:00
Eric Friedman
066f5e4152 Minor fix.
[SVN r20258]
2003-10-05 21:20:34 +00:00
Eric Friedman
86f289ea2f Eliminated double-storage in favor of heap backup.
[SVN r20253]
2003-10-04 01:00:57 +00:00
Eric Friedman
e1f3fa6878 Assign works on underlying content rather than via copy-swap.
[SVN r20252]
2003-10-04 00:59:45 +00:00
Eric Friedman
019cd4bf4c Added EDG workaround to binary apply_visitor.
[SVN r20120]
2003-09-19 18:53:34 +00:00
Eric Friedman
72cca13c68 Extended MSVC6 workaround to MSVC7.
[SVN r20119]
2003-09-19 18:49:51 +00:00
Eric Friedman
ffa53ece11 Nothrow default constructor on T0 disables double storage.
[SVN r20114]
2003-09-19 07:57:20 +00:00
Eric Friedman
a7369bd408 Added recursive_wrapper optimization for variant::swap (even if no ADL).
[SVN r20110]
2003-09-19 01:32:41 +00:00
Eric Friedman
ba9472b57d EDG workaround.
[SVN r20105]
2003-09-18 21:35:23 +00:00
Eric Friedman
5571be1da5 Moved temporary enable_if implementation into own header.
[SVN r20104]
2003-09-18 20:38:22 +00:00
Eric Friedman
2a30098782 Extended MSVC6 workaround to MSVC7.
[SVN r20102]
2003-09-18 19:52:16 +00:00
Eric Friedman
242e137df2 MSVC7 workaround.
[SVN r20092]
2003-09-18 01:32:33 +00:00
Eric Friedman
5a2e160099 Simplified free apply_visitor functions.
[SVN r20086]
2003-09-17 05:41:45 +00:00
Eric Friedman
aa135cfa4b Fixed variant-to-variant conversion when holding recursive_wrapper<T>.
[SVN r20082]
2003-09-17 01:41:06 +00:00
Eric Friedman
f378bdc719 Attempted workaround for Intel C++.
[SVN r20081]
2003-09-16 22:11:35 +00:00
Eric Friedman
8f636ccbf1 Employed 'cut-off' technique for variant::initializer.
[SVN r20072]
2003-09-16 04:56:46 +00:00
Eric Friedman
d5fd8ba882 CodeWarrior workaround.
[SVN r20071]
2003-09-16 00:20:37 +00:00
Eric Friedman
66712bfab2 Removed no reference support macro.
[SVN r20069]
2003-09-15 17:20:21 +00:00
Eric Friedman
d16a44eb40 Added support for extracting references.
[SVN r20063]
2003-09-15 05:54:31 +00:00
Eric Friedman
bfbd4ac6f6 Dramatically improved variant reference content support.
[SVN r20061]
2003-09-15 04:55:05 +00:00
Eric Friedman
f888a114d4 Added is_recursive_wrapper and unwrap_recursive.
[SVN r20060]
2003-09-15 04:53:47 +00:00
Eric Friedman
8db6a3ff3f Minor fix and addition.
[SVN r20048]
2003-09-14 03:48:52 +00:00
Eric Friedman
3505b0591b Minor changes.
[SVN r20031]
2003-09-12 04:51:11 +00:00
Eric Friedman
9b0c9e87e5 Renamed boost::incomplete to recursive_wrapper.
[SVN r20011]
2003-09-11 06:47:04 +00:00
Eric Friedman
3babe0b3ea Now prevents variant/non-variant comparisons.
[SVN r19960]
2003-09-08 05:48:01 +00:00
Eric Friedman
3d6606ccbd 1) Replaced variant_before with variant::operator<; 2) Added variant::operator==.
[SVN r19953]
2003-09-08 04:42:10 +00:00
Eric Friedman
d8831df4f7 Optimized variant assign for nothrow copy types.
[SVN r19940]
2003-09-07 06:42:02 +00:00
Eric Friedman
41acddd698 Attempted fix for EDG compilers.
[SVN r19906]
2003-09-02 04:18:35 +00:00
Eric Friedman
ed7d5f5990 Extended MSVC6 workaround to MSVC7.
[SVN r19905]
2003-09-02 04:16:29 +00:00
Eric Friedman
affe11a065 Added missing dependency.
[SVN r19904]
2003-09-02 01:33:29 +00:00
Eric Friedman
8f2dbb6ac5 Added more type_traits specializations.
[SVN r19892]
2003-09-01 07:47:03 +00:00
Eric Friedman
333e3db429 Added variant_before.
[SVN r19886]
2003-08-31 08:22:03 +00:00
Eric Friedman
cfdc8b7f37 1) No longer wraps references in boost::incomplete 2) Pointer substitution handling now considers cv-quals.
[SVN r19885]
2003-08-31 02:55:25 +00:00
Eric Friedman
544c2d2993 Moved reference_content to boost/detail from variant/detail.
[SVN r19884]
2003-08-31 01:59:15 +00:00
Eric Friedman
eddf1c5f4d Minor fix.
[SVN r19878]
2003-08-30 08:45:57 +00:00
Eric Friedman
559868f9ae On unsupporting compilers, handle_reference is no-op.
[SVN r19876]
2003-08-30 03:27:54 +00:00
Eric Friedman
0f4ef33561 Removed CodeWarrior workaround. Not needed?
[SVN r19875]
2003-08-30 03:09:45 +00:00
Eric Friedman
11e0a8941a Added reference support and several fixes.
[SVN r19869]
2003-08-29 20:02:18 +00:00
Eric Friedman
17ea805ff6 Added reference support.
[SVN r19868]
2003-08-29 20:01:57 +00:00
Eric Friedman
e72bb62db7 Initial release.
[SVN r19867]
2003-08-29 20:00:15 +00:00
Eric Friedman
89c26ae837 Now handles pointers, references, and cv-qualified recursive_variant_ tags.
[SVN r19791]
2003-08-26 22:12:45 +00:00
Eric Friedman
82dc545110 Several minor changes.
[SVN r19768]
2003-08-25 06:20:06 +00:00
Eric Friedman
041af39087 Refactored bad_visit into own header.
[SVN r19764]
2003-08-25 02:04:15 +00:00
Eric Friedman
7ac15e614b Added workarounds for MSVC7 and Borland.
[SVN r19730]
2003-08-22 06:38:13 +00:00
Eric Friedman
08f8885dc5 Minor fix.
[SVN r19729]
2003-08-22 06:36:30 +00:00
Eric Friedman
dbcae544b0 Dramatically reduced overhead caused by recursive_variant implementation for non-recursive variants.
[SVN r19720]
2003-08-21 07:16:09 +00:00
Eric Friedman
14f6f4aa99 Minor change.
[SVN r19719]
2003-08-21 07:12:52 +00:00
Eric Friedman
2bf6205214 Updated copyright info.
[SVN r19718]
2003-08-21 07:05:49 +00:00
Eric Friedman
80e3c239f4 1) Reworked enable_recursive implementation and 2) Renamed apply_visitor_impl.hpp to visitation_impl.hpp
[SVN r19574]
2003-08-14 00:37:24 +00:00
Eric Friedman
c908ec0828 Added empty_fwd.hpp.
[SVN r19573]
2003-08-14 00:29:11 +00:00
Eric Friedman
ba28bb9019 Refactored apply_visitor_impl into separate header.
[SVN r19572]
2003-08-13 21:23:48 +00:00
Eric Friedman
943a38b28d Disabled recursive_variant support under MSVC 7.0.
[SVN r19542]
2003-08-12 04:30:45 +00:00
Eric Friedman
87fed2322b Added boost::recursive_variant.
[SVN r19528]
2003-08-11 02:06:01 +00:00
Eric Friedman
390751c03d Minor change.
[SVN r19527]
2003-08-11 02:05:13 +00:00
Eric Friedman
4b4d429b2b Added BOOST_EXPLICIT_TEMPLATE_TYPE_SPEC, etc.
[SVN r19503]
2003-08-10 08:12:31 +00:00
Eric Friedman
dc4f46b960 Allow get of const from non-const variant.
[SVN r19374]
2003-07-30 22:23:54 +00:00
Itay Maman
5404c8476a Warning fixed: "friend class" changed to "friend struct"
[SVN r19328]
2003-07-28 11:47:20 +00:00
Eric Friedman
0c559f4a49 Added BOOST_TEMPLATED_STREAM_* helper macros.
[SVN r19312]
2003-07-26 04:26:58 +00:00
Eric Friedman
8df5bcbe1c Moved variant_io.hpp into detail (now always included).
[SVN r19310]
2003-07-25 21:29:21 +00:00
Eric Friedman
b9d4b893a3 Fixed error w/ nondependent static assertion in assigner.
[SVN r19301]
2003-07-25 05:46:53 +00:00
Eric Friedman
ec73f5dd28 Renamed visitation unrolling limit macro.
[SVN r19295]
2003-07-24 08:17:16 +00:00
Eric Friedman
19652667e3 Bug fix and workarounds.
[SVN r19291]
2003-07-24 07:21:26 +00:00
Eric Friedman
6621f52fe6 Added comparison and streaming operators.
[SVN r19290]
2003-07-24 07:10:51 +00:00
Eric Friedman
f0fc75755f Fixed variant<> (i.e. variant<empty>) syntax.
[SVN r19276]
2003-07-23 06:50:59 +00:00
Eric Friedman
cc0cf3d24c Added missing dependency.
[SVN r19275]
2003-07-23 06:50:10 +00:00
Eric Friedman
421489aba7 Moved variant streaming support into variant_io.hpp.
[SVN r19273]
2003-07-23 02:42:36 +00:00
Eric Friedman
0eab4aaa2b Added missing dependency.
[SVN r19270]
2003-07-23 01:05:12 +00:00
Eric Friedman
effa8a8ce5 Now uses BOOST_EXPLICIT_TEMPLATE_TYPE.
[SVN r19261]
2003-07-22 10:16:10 +00:00
Eric Friedman
8e41a624a2 Replaced general prohibition on top-level const types w/ implicit prohibition for assignment.
[SVN r19260]
2003-07-22 10:15:05 +00:00
Eric Friedman
6cf006edb9 1) uses APPEND_EXPLICIT_TEMPLATE_TYPE; 2) unrolls VARIANT_LIMIT_TYPES.
[SVN r19257]
2003-07-22 09:10:09 +00:00
Eric Friedman
3b25d32276 Now uses BOOST_APPEND_EXPLICIT_TEMPLATE_TYPE.
[SVN r19250]
2003-07-22 08:33:36 +00:00
Eric Friedman
47a426723c Moved VARIANT_NO_TYPE_SEQUENCE_SUPPORT config macro into variant_fwd header.
[SVN r19202]
2003-07-19 04:19:30 +00:00
Eric Friedman
e7fdbb2d29 Fixed variant assignment semantics.
[SVN r19201]
2003-07-18 21:18:00 +00:00
Eric Friedman
684607aa4c Returned to standard copy-assignment form.
[SVN r19200]
2003-07-18 21:12:22 +00:00
Eric Friedman
715c455f78 NULL reference error workaround.
[SVN r19197]
2003-07-18 20:44:58 +00:00
Eric Friedman
d91746c62f Missing dependency.
[SVN r19187]
2003-07-18 06:48:20 +00:00
Eric Friedman
26718e6206 Inlined function templates.
[SVN r19186]
2003-07-18 06:09:35 +00:00
Eric Friedman
2cd0d9f7f1 Update file info.
[SVN r19185]
2003-07-18 06:07:27 +00:00
Eric Friedman
3c54a73928 Moved forced_return into separate header.
[SVN r19184]
2003-07-18 06:04:22 +00:00
Eric Friedman
e464e92c01 Added VARIANT_AUX_RETURN_VOID_TYPE.
[SVN r19183]
2003-07-18 06:03:19 +00:00
Eric Friedman
3ce479aba3 Missing dependency.
[SVN r19181]
2003-07-18 05:01:13 +00:00
Eric Friedman
5b83dd24ca Borland workaround.
[SVN r19180]
2003-07-18 04:57:22 +00:00
Eric Friedman
ecb588d503 ISO conformance fix for make_initializer_node.
[SVN r19179]
2003-07-18 04:52:22 +00:00
Eric Friedman
333ed0a327 NO_VOID_RETURNS workaround.
[SVN r19167]
2003-07-17 08:45:31 +00:00
Eric Friedman
acca3a4fd9 Added unrolling to visitation mechanism.
[SVN r19166]
2003-07-17 06:45:55 +00:00
Eric Friedman
02fb9fffbc Moved general variant::initializer out of class, into detail namespace.
[SVN r19165]
2003-07-17 02:26:21 +00:00
Eric Friedman
0a19bfd00e Refactored variant::apply_visitor_impl as free function in detail namespace.
[SVN r19164]
2003-07-17 01:49:21 +00:00
Eric Friedman
eea0ca8875 VARIANT_MINIMIZE_SIZE introduction plus various cleanup.
[SVN r19163]
2003-07-17 00:53:32 +00:00
Eric Friedman
6a510db892 1) Added mpl/next.hpp dependency; 2) variant::initializer optimization.
[SVN r19159]
2003-07-16 22:47:01 +00:00
Eric Friedman
f21d2dc0cd Added BOOST_VARIANT_ENUM_PARAMS and variant streaming support.
[SVN r19140]
2003-07-16 06:47:45 +00:00
Eric Friedman
a885fdf67d Cleanup and various fixes.
[SVN r19133]
2003-07-16 00:34:03 +00:00
Eric Friedman
457c1545ef Borland 5.51 workaround.
[SVN r19132]
2003-07-16 00:30:42 +00:00
Eric Friedman
d72c9b904f Final (?) MSVC6 workarounds.
[SVN r19131]
2003-07-15 21:15:08 +00:00
Eric Friedman
c317c7b0bd Reworked NO_FUNCTION_TEMPLATE_ORDERING workaround.
[SVN r19122]
2003-07-14 23:07:05 +00:00
Eric Friedman
e7dd9a8b7e MSVC6 workarounds.
[SVN r19083]
2003-07-12 09:14:40 +00:00
Eric Friedman
e116680a9f Initial release.
[SVN r19082]
2003-07-12 09:14:18 +00:00
Eric Friedman
09659d63ba Rolled back mistaken change.
[SVN r19035]
2003-07-10 23:30:29 +00:00
Eric Friedman
5fb554da1d More work toward MSVC6.
[SVN r19013]
2003-07-10 09:20:57 +00:00
Eric Friedman
3a781d826f Attempted workaround for MSVC6.
[SVN r18947]
2003-07-06 02:46:20 +00:00
Eric Friedman
aa398b6601 Attempted MSVC6 fix; and changes to is_static_visitor.
[SVN r18912]
2003-07-01 19:43:40 +00:00
Eric Friedman
97d75494d9 Minor file info changes.
[SVN r18911]
2003-07-01 19:42:01 +00:00
Eric Friedman
06c6a75a0a Attempted MSVC6 workaround.
[SVN r18898]
2003-07-01 06:04:40 +00:00
Eric Friedman
6cbae4695f Attempted fix.
[SVN r18896]
2003-06-30 21:31:06 +00:00
Eric Friedman
02177c60eb Need extraneous include for AUX_NOTHING.
[SVN r18894]
2003-06-30 19:52:49 +00:00
Eric Friedman
e52ca694ab MSVC workarounds.
[SVN r18893]
2003-06-30 19:48:23 +00:00
Eric Friedman
1b0a5bc7e0 Yet another attempt at Borland workarounds.
[SVN r18843]
2003-06-20 02:25:12 +00:00
Eric Friedman
f06fa79dd8 Initial attempt at MSVC6 workarounds.
[SVN r18842]
2003-06-19 23:19:53 +00:00
Eric Friedman
2d92702326 Moved bad_visit into visitor_ptr.hpp.
[SVN r18841]
2003-06-19 22:38:09 +00:00
Eric Friedman
272b5a57ec Attempted fix to Borland/vc7 problem.
[SVN r18840]
2003-06-19 21:28:43 +00:00
Eric Friedman
ec24569d95 Warning 'elimination' only on Borland: *causes* warnings on gcc, etc.
[SVN r18839]
2003-06-19 20:58:16 +00:00
Eric Friedman
fd573ab747 Eliminated warnings on Borland.
[SVN r18825]
2003-06-17 22:08:59 +00:00
Eric Friedman
e0c5685899 Borland workarounds.
[SVN r18817]
2003-06-17 02:27:45 +00:00
Eric Friedman
dcc3a60043 Borland workarounds.
[SVN r18813]
2003-06-16 23:47:06 +00:00
Eric Friedman
a861fd7503 Eliminated unused argument warning.
[SVN r18812]
2003-06-16 22:47:36 +00:00
Eric Friedman
d3c6e3e896 Bug fix: argument forwarding was broken.
[SVN r18811]
2003-06-16 22:28:38 +00:00
Eric Friedman
66051a239e Bug fix: did not return visitation result.
[SVN r18810]
2003-06-16 21:28:08 +00:00
Eric Friedman
9466ba58f8 Visitation implementation handles end-case without throwing exception.
[SVN r18796]
2003-06-15 21:32:57 +00:00
Eric Friedman
cfe11be3cb Borland fixes.
[SVN r18758]
2003-06-10 09:07:20 +00:00
Eric Friedman
349c5c9002 Initial release.
[SVN r18757]
2003-06-10 09:07:08 +00:00
Eric Friedman
343855fa1f Added note explaining transitory (i.e. unfinished) implementation.
[SVN r18749]
2003-06-09 23:40:10 +00:00
Eric Friedman
c62c6388fa Fixed problem re: incomplete type w/ is_base_and_derived.
[SVN r18748]
2003-06-09 23:34:22 +00:00
Eric Friedman
b05ce41613 Made variant::convert_copy_into friend; and eliminated warning.
[SVN r18683]
2003-06-05 21:48:22 +00:00
Eric Friedman
4ea42095c4 Fix in friend declarations.
[SVN r18661]
2003-06-04 04:39:18 +00:00
Eric Friedman
49a95fe3e8 Bug fix.
[SVN r18579]
2003-05-28 08:27:25 +00:00