Commit Graph
28 Commits
Author SHA1 Message Date
Stephen Kelly 3cf0363668 Optional: Remove obsolete GCC version checks.
[SVN r86068]
2013-09-30 15:58:48 +00:00
Stephen Kelly 931cf3941b Optional: Remove obsolete MSVC version checks.
[SVN r86019]
2013-09-30 00:17:11 +00:00
Steven Watanabe 655eb739fa Add a forward declaration of the ostream operator for optional. Fixes #2103.
[SVN r82930]
2013-02-16 19:32:20 +00:00
Steven Watanabe e8853f23cd Use __may_alias__ instead of may_alias. Fixes #6410.
[SVN r82919]
2013-02-16 02:48:46 +00:00
Steven Watanabe ff48f2b3a0 Work around msvc bug when explicitly destroying a class with a virtual base. Fixes #5940.
[SVN r82915]
2013-02-15 19:22:34 +00:00
Vicente J. Botet Escriba f6db3d6bc3 Optional: fix some unused parameter warnings
[SVN r81031]
2012-10-21 06:30:04 +00:00
Andrey Semashev e9989b260e Refs #4987. Added forward declaration of namespace-scope swap for boost::optional, this should fix GCC compilation errors. Also swap implementation now uses Boost.Utility.Swap to make use of the workarounds for some broken compilers. If it breaks for your compiler, let me know in the mentioned ticket.
[SVN r67288]
2010-12-17 21:12:56 +00:00
Andrey Semashev 64d8062621 The may_alias workaround is also disabled for GCC prior to 3.2. Also added description for this workaround.
[SVN r67112]
2010-12-08 18:32:36 +00:00
Ralf W. Grosse-Kunstleve d39627c5b6 boost/optional/optional.hpp: avoid gcc 3.2 warnings
[SVN r67109]
2010-12-08 17:53:29 +00:00
Andrey Semashev f88c8ae423 Refs #3395. Optional construction and assignment now works correctly for types with overridden operator&. Also silenced some GCC warnings about broken strict aliasing rules.
[SVN r67020]
2010-12-05 14:43:18 +00:00
Daniel James 97e314f03a Fix some header links.
[SVN r64006]
2010-07-14 08:15:33 +00:00
Douglas Gregor 16f0a0aaaf Expose the "types" typedef of boost::optional_detail::operator_base as
public, rather than protected, since Spirit pokes at this typedef. 


[SVN r61832]
2010-05-06 21:44:18 +00:00
Niels Dekker 74674531c8 Replaced "using std::swap" by "using boost::swap" within optional::swap member function, hoping to fix GCC test failures, as mentioned at http://article.gmane.org/gmane.comp.lib.boost.devel/174350 "Re: [optional] problems with swap()"
[SVN r44826]
2008-04-27 21:09:50 +00:00
Niels Dekker 66c366d18a Improved swap for optional<T>, co-written by Thorsten and Fernando: added support for tweaking whether swap should use T's default constructor. Added swap member function. Discussed at Boost developers' mailing list, "[optional] problems with swap()", http://lists.boost.org/Archives/boost/2008/04/135882.php
[SVN r44766]
2008-04-25 16:50:32 +00:00
Fernando Cacciola 95c864e119 Cast to base added to avoid a call to the convertir constructor/assignment (see Tickes 1419 and 1420)
[SVN r41381]
2007-11-25 20:26:14 +00:00
Fernando Cacciola 3499d477dc Merged changests from RC_1_34_0 - base rev 33417
[SVN r40705]
2007-11-02 22:56:23 +00:00
Fernando Cacciola 734e5b5283 Some additional functions added to optional (being new there won't be regressions)
[SVN r34411]
2006-06-26 18:01:38 +00:00
Dave Abrahams a77dff3e11 workaround for Borland
[SVN r34288]
2006-06-12 19:02:41 +00:00
Hartmut Kaiser 9516a779fe Disambiguated certain constructs.
[SVN r34227]
2006-06-08 01:47:33 +00:00
Fernando Cacciola 0e10374194 AlisdairM BCB2006 patch reapplied to HEAD
[SVN r32820]
2006-02-10 20:52:25 +00:00
Fernando Cacciola 864adf2e87 Now commited in HEAD
[SVN r32748]
2006-02-08 19:29:54 +00:00
John Maddock f89c517fa8 Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
[SVN r30670]
2005-08-25 16:27:28 +00:00
Rene Rivera dda39772ad Fix doubled EOLs.
[SVN r28438]
2005-04-23 16:35:57 +00:00
Douglas Gregor ed504fae7b Converted to Unix format
[SVN r28432]
2005-04-23 02:59:05 +00:00
Fernando Cacciola 9a0013d668 Optional's Assignment fixed
[SVN r28412]
2005-04-22 13:28:34 +00:00
Fernando Cacciola 07a80c1b9b In-place factories moved from /detail to /utility
New value_initalized tests added


[SVN r25313]
2004-09-21 14:54:32 +00:00
Fernando Cacciola 3db413cc30 Pseudo-destructor fixed (fix adjusted for BCB6)
[SVN r23632]
2004-07-16 14:42:25 +00:00
Fernando Cacciola 9aa4943b7a Pseudo-destructor fixed
[SVN r23393]
2004-07-07 15:13:25 +00:00