Commit Graph

88 Commits

Author SHA1 Message Date
Andrzej Krzemienski
18b8c4bb18 Catching up with N4078 2014-06-28 00:31:36 +02:00
Andrzej Krzemienski
c7200c4aed Minor docs fixes (operator=) 2014-06-20 22:30:12 +02:00
Andrzej Krzemienski
599c75a6d3 various documentation fixes 2014-06-20 18:22:52 +02:00
Andrzej Krzemienski
4cbb67e505 Cleaner handling of explicit U to T conversions 2014-06-20 11:38:57 +02:00
Andrzej Krzemienski
d70114b3dc Added func value_or_eval() 2014-06-18 16:42:48 +02:00
Andrzej Krzemienski
9edf2ddac1 docs: fixed requirements in value_or() 2014-06-16 14:23:34 +02:00
Andrzej Krzemienski
31c9119266 value_or() requires that U is convertible to T
Due to Vladimir Batov.
2014-06-14 22:49:37 +02:00
Andrzej Krzemienski
8fc2901fad explicit operator bool becomes noexcept 2014-06-14 00:46:24 +02:00
Andrzej Krzemienski
07bdbc3743 docs: optional<T> == nont_t requirements 2014-06-08 20:51:55 +02:00
Andrzej Krzemienski
befd3970d7 docs -- expanded tutprial section 2014-06-08 16:23:35 +02:00
Andrzej Krzemienski
d25b0cfd59 improved example in tutorial 2014-06-06 23:52:29 +02:00
Andrzej Krzemienski
fdc98d17ca Added limited emplace() for older compilers 2014-06-06 23:24:43 +02:00
Andrzej Krzemienski
dec71d338d Cleaned up docs 2014-06-06 00:53:15 +02:00
Andrzej Krzemienski
402f15e996 described relops in docs 2014-06-04 23:04:02 +02:00
Andrzej Krzemienski
3dd614fd91 Reorganized docs. Minor code fix wrt opt refs 2014-06-04 18:13:06 +02:00
Andrzej Krzemienski
2e583aaf30 Fixed code, updated docs, added emplace() 2014-06-03 17:36:18 +02:00
Andrzej Krzemienski
3984c9f9a1 Added function value_or() 2014-05-23 16:38:42 +02:00
Andrzej Krzemienski
75271b73a8 Member fun value() that throws on uninitialized 2014-05-22 23:32:49 +02:00
Andrzej Krzemienski
1c9775a9d9 docs: described optional reference binding issues 2014-05-08 21:50:41 +02:00
Andrzej Krzemienski
f94846ccc5 Improved documentation. Added some noexcept. 2014-05-07 17:07:12 +02:00
Andrzej Krzemienski
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
Andrzej Krzemienski
c51f3e810b The (in)equality comparison with boost::none does not require that T be EqualityComparable 2014-04-29 22:59:06 +02:00
Andrzej Krzemienski
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
Andrzej Krzemienski
c9f1422560 Updated documentation; fixed optional::swap 2014-04-29 01:06:14 +02:00
Marcel Raad
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
Andrzej Krzemienski
b4738ac07e Updated HTML documentation format using the super-project css and docbook-xsl-1.78.1 2014-04-12 20:54:37 +02:00
Andrzej Krzemienski
09f2c0f60e Merge branch 'use-super-project-css' of https://github.com/danieljames/optional into develop 2014-04-12 17:22:33 +02:00
Daniel James
a3b478b620 Use super-project's css file. 2014-04-12 09:10:24 +01:00
Andrzej Krzemienski
50d09367ca Rebuilt the HTML documentation using a newer xsltproc 2014-04-11 23:36:24 +02:00
Steven Watanabe
cb09282472 Update optional documentation.
[SVN r82931]
2013-02-16 19:42:42 +00:00
Steven Watanabe
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
Steven Watanabe
f9c46f9a86 Fix some more typos and grammatical errors.
[SVN r71089]
2011-04-07 19:56:55 +00:00
Steven Watanabe
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
Steven Watanabe
960631e201 Add assignment operators taking an InPlaceFactory to the Detailed Semantics section. Fixes #5378.
[SVN r71048]
2011-04-06 20:54:18 +00:00
Daniel James
a63dbe0f14 Rebuild optional docs.
[SVN r57812]
2009-11-20 10:26:23 +00:00
John Maddock
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
Matias Capeletto
3e33d4a200 optional docs fixes
[SVN r43247]
2008-02-14 17:43:52 +00:00
Matias Capeletto
07ce2fc860 new quickbook docs for optional
[SVN r37809]
2007-05-29 06:40:25 +00:00