Andrzej Krzemienski
545fd9a72f
docs and tests fixes
2018-11-08 18:46:03 +01:00
Andrzej Krzemienski
69e239530e
docs: updated releasenotes
2018-10-29 22:06:47 +01:00
Andrzej Krzemienski
0f8e356bca
rebuilt docs
2018-10-23 22:46:26 +02:00
Andrzej Krzemienski
d0b87d2f35
documented flat_map
2018-07-02 23:23:46 +02:00
Andrzej Krzemienski
51d1bc843d
test and doc update for .map()
2018-06-23 20:53:16 +02:00
Andrzej Krzemienski
e47a017009
added o.map()
2018-06-23 18:27:14 +02:00
Andrzej Krzemienski
5182f7f30f
Added has_value()
2018-03-24 00:04:15 +01:00
Andrzej Krzemienski
5b6f4be434
Fix make_optional for rvalues
2017-11-07 23:34:56 +01:00
Andrzej Krzemienski
40f7c97292
Fixed -Wmaybe-uninitialized
2017-11-07 23:34:37 +01:00
Andrzej Krzemienski
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
Andrzej Krzemienski
58f7c2f14a
fix bug with defaulted move in msvc 12.0
2017-11-07 23:34:12 +01:00
Andrzej Krzemienski
2d2c3c3f6f
trivially-copyable optional<T> for trivial T
2017-11-07 23:34:05 +01:00
Andrzej Krzemienski
4fe57f57fa
Fix make_optional for rvalues
2017-11-07 23:33:54 +01:00
Andrzej Krzemienski
975a6aa92d
Merge documentation fix from 'develop'
2017-03-22 22:59:32 +01:00
Andrzej Krzemienski
cb7641dc34
fixed wrong namespace in docs
2017-02-14 23:53:30 +01:00
Andrzej Krzemienski
1618d5f3bb
release notes
2016-11-24 23:31:43 +01:00
Andrzej Krzemienski
8d69e99e78
removed hack test, updated copyright
2016-11-06 01:49:53 +01:00
Andrzej Krzemienski
4a9d53539c
documented in-place constructors
2016-10-28 00:01:13 +02:00
Andrzej Krzemienski
0988b4c394
docs: updated gotchas section
2016-09-17 01:49:30 +02:00
Andrzej Krzemienski
5662f55ccf
Trac #12179
2016-09-02 02:07:26 +02:00
Andrzej Krzemienski
a421444788
release notes
2016-03-06 19:32:52 +01:00
Andrzej Krzemienski
865d94a8d8
fixed interop between opt refs and opt vals
2016-03-06 19:08:25 +01:00
Andrzej Krzemienski
547e861704
Merge branch 'develop'
...
Conflicts:
doc/91_relnotes.qbk
doc/html/index.html
2016-03-05 23:57:41 +01:00
Andrzej Krzemienski
1fd315016a
fixed release notes
2016-03-05 23:43:59 +01:00
Andrzej Krzemienski
0831788c86
Removed enable_if factory on SUNPRO compilers
2016-03-05 23:22:29 +01:00
Andrzej Krzemienski
2809bfeb08
regenerated docs
2016-02-22 23:41:27 +01:00
Andrzej Krzemienski
1334602a2b
minor release note change
2016-02-19 18:48:37 +01:00
Andrzej Krzemienski
f6e09fbf9c
value constructor is sfinae-friendly
2016-02-19 18:41:42 +01:00
Andrzej Krzemienski
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
Andrzej Krzemienski
b0602a1161
more unit test for opt ref swap and abstract types
2016-02-17 00:01:13 +01:00
Andrzej Krzemienski
143bda7c9f
doc update about optional references
2016-02-16 21:05:01 +01:00
Andrzej Krzemienski
94c735af2d
added optional ref swap
...
and also chaned the copyright year in docs
2016-02-13 15:33:07 +01:00
Andrzej Krzemienski
b5b8414c06
Primary template optional<> does not handle references
2016-02-13 00:46:41 +01:00
Andrzej Krzemienski
cf4b2e8b16
specialization for optional ref - preliminary
2015-10-05 16:54:05 +02:00
Andrzej Krzemienski
9f8dd57386
boost::none - simpler and works with MSVC
2015-10-02 09:00:57 +02:00
Andrzej Krzemienski
593710e961
doc: added relnotes for 1.59
2015-07-08 23:54:20 +02:00
Andrzej Krzemienski
9b1894a2f3
Doc: no headers in tables in semantics
2015-05-27 17:06:31 +02:00
Andrzej Krzemienski
8ca74951b0
Added emplace(void) for older compilers
2015-05-15 18:10:19 +02:00
Andrzej Krzemienski
9d3f2fa825
Doc: spelling fix from jsjohns
2015-03-13 22:53:47 +01:00
Andrzej Krzemienski
6e40825098
described headers in docs; added move in operator>>
2015-03-09 21:56:25 +01:00
Andrzej Krzemienski
0a8a798c3a
Fixed Trac #10839
2015-03-09 11:50:10 +01:00
Andrzej Krzemienski
59266a2630
More restrictive assignment from optional<U>
2015-03-06 19:20:45 +01:00
Andrzej Krzemienski
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
Andrzej Krzemienski
726b227aa9
operator<< improvements
2015-01-21 00:10:51 +01:00
Andrzej Krzemienski
35eaec5a52
Doc: added release notes section
2015-01-12 17:37:15 +01:00
Andrzej Krzemienski
8bc63106d3
Relocated images to QBK section
2014-12-06 21:08:58 +01:00
Andrzej Krzemienski
b5ae4bf78d
Added performance notes to documentation
2014-12-06 19:27:53 +01:00
Andrzej Krzemienski
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
Andrzej Krzemienski
a913650322
Doc typeo fixes + 1 test fix
2014-09-12 11:57:44 +02:00
Andrzej Krzemienski
fea4882f24
rvalue ref overloads do not return by value
2014-07-10 13:49:36 +02:00