Commit Graph

144 Commits

Author SHA1 Message Date
ec677383dc Added docs for std::hash
But I do not know if they copile with QuickBook.
2022-05-23 21:00:00 +02:00
916ca23572 Update typography 2022-03-07 13:55:57 +01:00
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
bebc606a4c Remove deprecation mark from reset()
The `std::optional` has `reset()` [optional.mod] and it is not deprecated.
2018-10-23 22:34:10 +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
33c7a6aa2b docs: relnotes for 1.67 2018-03-01 01:10:42 +01:00
5b6f4be434 Fix make_optional for rvalues 2017-11-07 23:34:56 +01:00
7541076cf1 fixed defaulted moves on older compilers 2017-11-07 23:34:41 +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
a710a23102 Merge branch 'master' into develop
Conflicts:
	doc/html/index.html
2016-10-26 23:27:41 +02:00
d556ccedb2 Add, and update, documentation build targets. 2016-10-07 23:07:35 -05:00
0988b4c394 docs: updated gotchas section 2016-09-17 01:49:30 +02:00
ade083128f Merge pull request #23 from a-n-t-h-o-n-y/Fix2
Fix emplace Signature
2016-09-17 01:37:14 +02:00
0035e60b1b Merge pull request #22 from a-n-t-h-o-n-y/Fix1
Fix Operator!= none_t Return Statement
2016-09-17 01:34:43 +02:00
62acbe1690 docs: updated gotchas section 2016-09-17 01:25:12 +02:00
3e0051be7e Merge pull request #23 from a-n-t-h-o-n-y/Fix2
Fix emplace Signature
2016-09-12 09:07:27 +02:00
b8da1932f3 Fix emplace Signature
Universal reference moved to the left of template parameter pack
elipsis in documentation.
2016-09-09 18:33:23 -05:00
1c31338da3 Fix Operator!= none_t Return Statement 2016-09-09 18:16:02 -05: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
57817d75ef Merge branch 'develop'
Conflicts:
	doc/91_relnotes.qbk
	doc/html/boost_optional/relnotes.html
	doc/html/index.html
	include/boost/none_t.hpp
2016-02-22 23:21:32 +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