Commit Graph

76 Commits

Author SHA1 Message Date
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
726b227aa9 operator<< improvements 2015-01-21 00:10:51 +01:00
35eaec5a52 Doc: added release notes section 2015-01-12 17:37:15 +01:00
8bc63106d3 Relocated images to QBK section 2014-12-06 21:08:58 +01:00
b5ae4bf78d Added performance notes to documentation 2014-12-06 19:27:53 +01:00
53e53171c4 none_t is no loner constructible from literal 0
This caused problems because:
optional<T> o = 0;
always worked. But often it would create an uninitialized optional.
2014-11-22 01:18:25 +01:00
a913650322 Doc typeo fixes + 1 test fix 2014-09-12 11:57:44 +02:00
fea4882f24 rvalue ref overloads do not return by value 2014-07-10 13:49:36 +02:00
18b8c4bb18 Catching up with N4078 2014-06-28 00:31:36 +02:00
c7200c4aed Minor docs fixes (operator=) 2014-06-20 22:30:12 +02:00
599c75a6d3 various documentation fixes 2014-06-20 18:22:52 +02:00
4cbb67e505 Cleaner handling of explicit U to T conversions 2014-06-20 11:38:57 +02:00
d70114b3dc Added func value_or_eval() 2014-06-18 16:42:48 +02:00
9edf2ddac1 docs: fixed requirements in value_or() 2014-06-16 14:23:34 +02:00
31c9119266 value_or() requires that U is convertible to T
Due to Vladimir Batov.
2014-06-14 22:49:37 +02:00
8fc2901fad explicit operator bool becomes noexcept 2014-06-14 00:46:24 +02:00
07bdbc3743 docs: optional<T> == nont_t requirements 2014-06-08 20:51:55 +02:00
befd3970d7 docs -- expanded tutprial section 2014-06-08 16:23:35 +02:00
d25b0cfd59 improved example in tutorial 2014-06-06 23:52:29 +02:00
fdc98d17ca Added limited emplace() for older compilers 2014-06-06 23:24:43 +02:00