Commit Graph

95 Commits

Author SHA1 Message Date
7dd512a019 Fix issue #98 2021-11-20 02:00:30 +01:00
d0ab8004c0 Add support for BOOST_NO_IOSTREAM 2021-05-19 23:29:10 +02:00
ead529af54 Address unreachable code warning
In MSVC optional<T&>::value() emits a warning C4702: unreachable code because throw_exception is marked BOOST_RETURN.
Otherwise the ternary code might have been preferable.
This change addresses the warning while preserving the functionality. It replicates optional<T>::value() for consistency.
2020-12-19 00:00:18 +01:00
7e0b8145b5 boost::none is constexpr-declared 2020-10-24 17:17:10 +02:00
19b94c01f3 added release notes 2020-04-09 01:12:22 +02:00
010ee00604 Update release notes 2019-12-20 00:30:37 +01:00
13bc27698e Add test case for fix to issue #78 2019-12-20 00:18:52 +01:00
545fd9a72f docs and tests fixes 2018-11-08 18:46:03 +01:00
69e239530e docs: updated releasenotes 2018-10-29 22:06:47 +01:00
0f8e356bca rebuilt docs 2018-10-23 22:46:26 +02:00
d0b87d2f35 documented flat_map 2018-07-02 23:23:46 +02:00
51d1bc843d test and doc update for .map() 2018-06-23 20:53:16 +02:00
e47a017009 added o.map() 2018-06-23 18:27:14 +02:00
5182f7f30f Added has_value() 2018-03-24 00:04:15 +01:00
5b6f4be434 Fix make_optional for rvalues 2017-11-07 23:34:56 +01:00
40f7c97292 Fixed -Wmaybe-uninitialized 2017-11-07 23:34:37 +01:00
06dea2cb9b Reverted specialization for trivial types
It caused too many problems. I left only specialiation for scalar types.
I will need to devise clever type traits for reconizing trivial types with working constructor.
2017-11-07 23:34:34 +01:00
58f7c2f14a fix bug with defaulted move in msvc 12.0 2017-11-07 23:34:12 +01:00
2d2c3c3f6f trivially-copyable optional<T> for trivial T 2017-11-07 23:34:05 +01:00
4fe57f57fa Fix make_optional for rvalues 2017-11-07 23:33:54 +01:00
975a6aa92d Merge documentation fix from 'develop' 2017-03-22 22:59:32 +01:00
cb7641dc34 fixed wrong namespace in docs 2017-02-14 23:53:30 +01:00
1618d5f3bb release notes 2016-11-24 23:31:43 +01:00
8d69e99e78 removed hack test, updated copyright 2016-11-06 01:49:53 +01:00
4a9d53539c documented in-place constructors 2016-10-28 00:01:13 +02:00
0988b4c394 docs: updated gotchas section 2016-09-17 01:49:30 +02:00
5662f55ccf Trac #12179 2016-09-02 02:07:26 +02:00
a421444788 release notes 2016-03-06 19:32:52 +01:00
865d94a8d8 fixed interop between opt refs and opt vals 2016-03-06 19:08:25 +01:00
547e861704 Merge branch 'develop'
Conflicts:
	doc/91_relnotes.qbk
	doc/html/index.html
2016-03-05 23:57:41 +01:00
1fd315016a fixed release notes 2016-03-05 23:43:59 +01:00
0831788c86 Removed enable_if factory on SUNPRO compilers 2016-03-05 23:22:29 +01:00
2809bfeb08 regenerated docs 2016-02-22 23:41:27 +01:00
1334602a2b minor release note change 2016-02-19 18:48:37 +01:00
f6e09fbf9c value constructor is sfinae-friendly 2016-02-19 18:41:42 +01:00
44d57a1d8b Fix: prevented the binding illegal temporary to optional<const int&>
Older MSVC versions add illegal temporary when you want to assign from const integral value.
2016-02-19 00:25:54 +01:00
b0602a1161 more unit test for opt ref swap and abstract types 2016-02-17 00:01:13 +01:00
143bda7c9f doc update about optional references 2016-02-16 21:05:01 +01:00
94c735af2d added optional ref swap
and also chaned the copyright year in docs
2016-02-13 15:33:07 +01:00
b5b8414c06 Primary template optional<> does not handle references 2016-02-13 00:46:41 +01:00
cf4b2e8b16 specialization for optional ref - preliminary 2015-10-05 16:54:05 +02:00
9f8dd57386 boost::none - simpler and works with MSVC 2015-10-02 09:00:57 +02:00
593710e961 doc: added relnotes for 1.59 2015-07-08 23:54:20 +02:00
9b1894a2f3 Doc: no headers in tables in semantics 2015-05-27 17:06:31 +02:00
8ca74951b0 Added emplace(void) for older compilers 2015-05-15 18:10:19 +02:00
9d3f2fa825 Doc: spelling fix from jsjohns 2015-03-13 22:53:47 +01:00
6e40825098 described headers in docs; added move in operator>> 2015-03-09 21:56:25 +01:00
0a8a798c3a Fixed Trac #10839 2015-03-09 11:50:10 +01:00
59266a2630 More restrictive assignment from optional<U> 2015-03-06 19:20:45 +01:00
f229257f30 You can now manually disable move semantics.
This may be useful in MSVC to work around a bug described in Trac #10399
2015-01-21 15:03:17 +01:00