cf4b2e8b16
specialization for optional ref - preliminary
2015-10-05 16:54:05 +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
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
dec71d338d
Cleaned up docs
2014-06-06 00:53:15 +02:00
402f15e996
described relops in docs
2014-06-04 23:04:02 +02:00
3dd614fd91
Reorganized docs. Minor code fix wrt opt refs
2014-06-04 18:13:06 +02:00
2e583aaf30
Fixed code, updated docs, added emplace()
2014-06-03 17:36:18 +02:00
3984c9f9a1
Added function value_or()
2014-05-23 16:38:42 +02:00
75271b73a8
Member fun value() that throws on uninitialized
2014-05-22 23:32:49 +02:00
1c9775a9d9
docs: described optional reference binding issues
2014-05-08 21:50:41 +02:00
f94846ccc5
Improved documentation. Added some noexcept.
2014-05-07 17:07:12 +02:00
6a790e0c97
Added a test that tests the compiler if references are bound correctly. Also added the second copyright notice.
2014-05-05 19:08:11 +02:00
c51f3e810b
The (in)equality comparison with boost::none does not require that T be EqualityComparable
2014-04-29 22:59:06 +02:00
d59f47156f
Merge branch 'feature/move-semantics' into develop
...
Conflicts:
doc/html/index.html
include/boost/optional/optional.hpp
test/Jamfile.v2
2014-04-29 01:24:10 +02:00
c9f1422560
Updated documentation; fixed optional::swap
2014-04-29 01:06:14 +02:00
c7cf80e5df
Use BOOST_EXPLICIT_OPERATOR_BOOL for optional
...
I often have the problem that when I change a std::wstring to boost::optional<std::wstring> and the variable is used as a parameter with Boost.Format, the result silently changes from the string contents to "1".
This change prevents implicit conversion to bool if the compiler supports explicit conversion operators.
2014-04-26 15:26:37 +02:00
b4738ac07e
Updated HTML documentation format using the super-project css and docbook-xsl-1.78.1
2014-04-12 20:54:37 +02:00
50d09367ca
Rebuilt the HTML documentation using a newer xsltproc
2014-04-11 23:36:24 +02:00
cb09282472
Update optional documentation.
...
[SVN r82931]
2013-02-16 19:42:42 +00:00
f921762bf6
Add link to header from synopsis. Fixes #4049 . Add links to in place factory assignment operators.
...
[SVN r71092]
2011-04-07 21:05:15 +00:00
f9c46f9a86
Fix some more typos and grammatical errors.
...
[SVN r71089]
2011-04-07 19:56:55 +00:00
c1d2381a9b
Copy-editing optional documentation. Fixes #5382 and a few other issues I noticed while I was at it.
...
[SVN r71052]
2011-04-06 21:56:23 +00:00
960631e201
Add assignment operators taking an InPlaceFactory to the Detailed Semantics section. Fixes #5378 .
...
[SVN r71048]
2011-04-06 20:54:18 +00:00
a63dbe0f14
Rebuild optional docs.
...
[SVN r57812]
2009-11-20 10:26:23 +00:00
20c9fc8ebe
Fix the optional and numeric/conversion docs so they generate valid Docbook XML that can be transformed into PDF's.
...
Regenerated HTML versions of the docs.
[SVN r51218]
2009-02-12 14:01:48 +00:00
3e33d4a200
optional docs fixes
...
[SVN r43247]
2008-02-14 17:43:52 +00:00