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
86e759fb89
optional<const T&>::rval_reference_type is now T&& (not const T&)
2014-05-02 18:41:23 +02:00
897fdad11b
Changed incorrect types in static assertions guarding against binding temporaries to optional refs
2014-05-02 15:41:43 +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
01b22a0ff0
Added tests for move conversion between optional<T> and optional<U>
2014-04-28 16:51:49 +02:00
655a9e3035
Added README.md file
2014-04-28 16:01:55 +02:00
3816143646
Disabled assignment and construction from rvalue references in optional<const T&>
2014-04-28 15:48:55 +02:00
0e61751fab
Added more tests for move operations, fixed bugs, disabled optional<T&&>.
2014-04-26 23:24:21 +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
5c69bac12f
Fixed unit tests (still need to add more unit tests for move semantics)
2014-04-26 00:22:39 +02:00
a26d11be87
Partially added move semantics (tests are still failing)
2014-04-22 22:36:19 +02:00
587ef8e988
Added 'raw' move semantics; no unit-tests
2014-04-14 23:44:34 +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
09f2c0f60e
Merge branch 'use-super-project-css' of https://github.com/danieljames/optional into develop
2014-04-12 17:22:33 +02:00
a3b478b620
Use super-project's css file.
2014-04-12 09:10:24 +01:00
b7557909a3
Merge branch 'develop'
2014-04-12 00:02:38 +02:00
5981d984ed
Merge branch 'master' of github.com:boostorg/optional
2014-04-11 23:43:13 +02:00
50d09367ca
Rebuilt the HTML documentation using a newer xsltproc
2014-04-11 23:36:24 +02:00
40a1ec1ca2
Added HTML documentation generated from QuickBook sources (they were not in sync in the previous commit)
2014-04-11 23:30:49 +02:00
c5ca90ed58
Copy-editing optional documentation. Fixes #5382 and a few other issues I noticed while I was at it.
...
[SVN r71052]
Conflicts:
doc/html/boost_optional/detailed_semantics.html
doc/html/index.html
2014-04-11 12:40:07 +02:00
fdbac34bfb
Fix some more typos and grammatical errors.
...
[SVN r71089]
Conflicts:
doc/html/boost_optional/detailed_semantics.html
doc/html/index.html
2014-04-11 11:47:09 +02:00
6cd1827fe2
Add link to header from synopsis. Fixes #4049 . Add links to in place factory assignment operators.
...
[SVN r71092]
Conflicts:
doc/html/index.html
2014-04-11 11:17:50 +02:00
c283c778e6
Correct definition of operator unspecified-bool-type. Make reference for is_initialized point to this operator. Fixes #6364 .
...
[SVN r82911]
2014-04-11 11:12:39 +02:00
339a3c4ab8
Add assignment operators taking an InPlaceFactory to the Detailed Semantics section. Fixes #5378 .
...
[SVN r71048]
2014-04-11 11:06:35 +02:00
c52654fa52
Try to fix VC8.
...
[SVN r83445]
2014-04-11 09:13:48 +02:00
e3226caccb
Remove extra :'s. Fixes #7973 .
...
[SVN r82909]
2014-04-11 00:32:48 +02:00
820cf7c815
Some doc typos. Fixes #7602 .
...
[SVN r82910]
2014-04-11 00:30:54 +02:00
1895dbb984
Replace deprecated function reset in examples. Fixes #765 .
...
[SVN r82912]
2014-04-11 00:27:36 +02:00
ed33f2bf2f
Remove use of obsolete BOOST_NO_TEMPLATED_STREAMS macro.
...
It was only defined for no-longer-supported-gcc.
[SVN r86062]
2014-04-11 00:24:48 +02:00
51d3f2e761
Optional: Remove obsolete GCC version checks.
...
[SVN r86068]
2014-04-11 00:14:35 +02:00
60f3efc852
Add a forward declaration of the ostream operator for optional. Fixes #2103 .
...
[SVN r82930]
2014-04-10 23:54:52 +02:00
8d6f6ddf4f
Work around msvc bug when explicitly destroying a class with a virtual base. Fixes #5940 .
...
[SVN r82915]
2014-04-10 23:51:56 +02:00
84deab1aba
Optional: Remove obsolete MSVC version checks.
...
[SVN r86019]
2014-04-10 23:47:30 +02:00
a43db097ca
Use __may_alias__ instead of may_alias. Fixes #6410 .
...
[SVN r82919]
2014-04-10 23:33:36 +02:00
b4bb05a771
Create merge base for git.
2014-04-06 14:18:57 +01:00
3cf0363668
Optional: Remove obsolete GCC version checks.
...
[SVN r86068]
2013-09-30 15:58:48 +00:00
c9ead30713
Remove use of obsolete BOOST_NO_TEMPLATED_STREAMS macro.
...
It was only defined for no-longer-supported-gcc.
[SVN r86062]
2013-09-30 15:56:52 +00:00
931cf3941b
Optional: Remove obsolete MSVC version checks.
...
[SVN r86019]
2013-09-30 00:17:11 +00:00
16657e5e1d
Try to fix VC8.
...
[SVN r83445]
2013-03-15 18:24:41 +00:00
cb09282472
Update optional documentation.
...
[SVN r82931]
2013-02-16 19:42:42 +00:00
655eb739fa
Add a forward declaration of the ostream operator for optional. Fixes #2103 .
...
[SVN r82930]
2013-02-16 19:32:20 +00:00
e8853f23cd
Use __may_alias__ instead of may_alias. Fixes #6410 .
...
[SVN r82919]
2013-02-16 02:48:46 +00:00
ff48f2b3a0
Work around msvc bug when explicitly destroying a class with a virtual base. Fixes #5940 .
...
[SVN r82915]
2013-02-15 19:22:34 +00:00
e40c2654d9
Replace deprecated function reset in examples. Fixes #765 .
...
[SVN r82912]
2013-02-15 18:50:29 +00:00
ab0ffa1c01
Correct definition of operator unspecified-bool-type. Make reference for is_initialized point to this operator. Fixes #6364 .
...
[SVN r82911]
2013-02-15 18:44:59 +00:00
a5c2ab2125
Some doc typos. Fixes #7602 .
...
[SVN r82910]
2013-02-15 18:28:38 +00:00
181e56a70a
Remove extra :'s. Fixes #7973 .
...
[SVN r82909]
2013-02-15 18:21:04 +00:00
9bd310086a
Optional: merge 81031
...
[SVN r81036]
2012-10-21 12:01:37 +00:00