4df589686c
refactoring optional ref tests
2014-12-01 18:03:46 +01:00
1e2aed8276
unit test improvements
...
I have split tests for conversions from uptional<U> and from U to optional<T>.
I have split the optional refs tests that are expected to pass on all compilers.
I started using lightweight_test instead of Boost.Test (now only in some files).
2014-11-29 22:51:45 +01:00
0d06d66f5c
Improvement to "cout << none" implementation
2014-11-24 22:53:59 +01:00
f8bbb9fabb
Merge pull request #12 from jhunold/operator
...
Add operator<< for boost::none
2014-11-24 15:46:33 +01:00
1d3446304b
Add operator<< for boost::none
2014-11-24 15:38:24 +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
5435021ea4
Merge pull request #11 from OlafvdSpek/patch-1
...
Update 13_relational_operators.qbk
2014-11-21 07:52:34 +01:00
661cbe15af
Update 13_relational_operators.qbk
...
Missing word
2014-11-20 23:55:45 +01:00
d67ca566bd
Merge pull request #10 from Siddhant/patch-1
...
typo in docs
2014-11-12 09:23:30 +01:00
bbabb6b990
typo
2014-11-12 08:42:40 +05:30
4c06d708d6
Merge branch 'develop'
boost-1.57.0
2014-10-08 22:42:59 +02:00
35d5e25672
Removet compiler tests
2014-10-08 21:35:09 +02:00
a913650322
Doc typeo fixes + 1 test fix
2014-09-12 11:57:44 +02:00
55dc4c1dde
Testing MSVC bugs
2014-09-05 16:28:02 +02:00
bda2001935
Testing MSVC bugs
2014-09-05 16:15:39 +02:00
eef3bfe079
Added a comaintainer to meta info
2014-09-04 23:47:46 +02:00
b7e8b1b54a
Merge pull request #8 from danieljames/metadata
...
Create metadata file.
2014-09-04 23:44:52 +02:00
d4a4cdca1d
Supply <string> to fix C++03 compile error on logic_error("...")
...
This change makes the library usable (again) on C++03 standard library
implementations where <stdexcept> doesn't imply inclusion of <string>,
e.g. STLport.
2014-08-28 02:45:14 +09:00
df01e9e429
Add metadata file.
2014-08-18 15:08:26 +01:00
953e7de70b
Merge pull request #6 from boostorg/develop
...
rvalue ref overloads do not return by value
boost-1.56.0
2014-07-17 10:15:50 +02:00
fea4882f24
rvalue ref overloads do not return by value
2014-07-10 13:49:36 +02:00
4115c41bf3
Merge branch 'develop'
2014-06-28 22:20:11 +02:00
18b8c4bb18
Catching up with N4078
2014-06-28 00:31:36 +02:00
fb578b02f2
Merge pull request #5 from boostorg/develop
...
Merge from develop
2014-06-24 10:38:15 +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
4af83ecf83
Merge branch 'master' into develop
2014-06-18 18:13:40 +02:00
d70114b3dc
Added func value_or_eval()
2014-06-18 16:42:48 +02:00
a158b85bd6
Merge branch 'develop'
2014-06-16 14:26:22 +02:00
9edf2ddac1
docs: fixed requirements in value_or()
2014-06-16 14:23:34 +02:00
0a2a8957fa
bug fix: comma in BOOST_STATIC_ASSERT
2014-06-15 21:51:07 +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
04b9080612
Merge branch 'develop'
2014-06-09 16:19:11 +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
a4e507077e
More tests on emplace()
2014-06-06 23:40:45 +02:00
fdc98d17ca
Added limited emplace() for older compilers
2014-06-06 23:24:43 +02:00
a448dc7554
Merge branch 'develop'
...
Conflicts:
doc/html/index.html
2014-06-06 12:14:26 +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
f99618f09b
Added ref-qualifiers to some accessors
2014-06-03 23:07:19 +02:00
2e583aaf30
Fixed code, updated docs, added emplace()
2014-06-03 17:36:18 +02:00
22baf1dd09
Fixed bug in test on compiler with no rvalue refs
2014-05-24 13:44:07 +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
5e59e10f93
Fix warnings with gcc 4.4 in C++11 mode
...
GCC 4.4 has support for an early draft of rvalue references. When compiling the conforming code it produces warnings such as '../boost/optional/optional.hpp:152: warning: returning reference to temporary'. In order to fix this regression use a special implementation of move(), similar to std::move() on this compiler.
2014-05-22 10:15:11 +04:00