2
0
mirror of https://github.com/boostorg/variant.git synced 2026-02-09 11:42:15 +00:00
Commit Graph

166 Commits

Author SHA1 Message Date
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