Commit Graph

210 Commits

Author SHA1 Message Date
cbf3cd05af Test case for #43 2017-11-07 23:34:31 +01:00
01ebd2ad7f Added tests for types with deleted default ctor 2017-11-07 23:34:23 +01:00
42c2377a0d Add tc_optional_base test 2017-11-07 23:34:20 +01:00
a7f33f5d6f more defensive checking for trivial types -- avoiding bugs 2017-11-07 23:34:15 +01:00
58f7c2f14a fix bug with defaulted move in msvc 12.0 2017-11-07 23:34:12 +01:00
ebef3ed6f7 Try to make the test closer to the failing case in Beast 2017-11-07 23:34:09 +01:00
9e0726cee1 Add test for a deleted default constructor 2017-11-07 23:34:07 +01:00
2d2c3c3f6f trivially-copyable optional<T> for trivial T 2017-11-07 23:34:05 +01:00
61bf382ffa Enable tests that doesn't requires rv-ref. 2017-11-07 23:33:57 +01:00
4fe57f57fa Fix make_optional for rvalues 2017-11-07 23:33:54 +01:00
d73b5110dd corrected the compiler workarounds 2016-11-22 02:35:24 +01:00
b4907c2a51 old compiler workarounds for the previous two fixes 2016-11-20 23:42:41 +01:00
fafb3abb64 Implemented reset syntax: o = {} 2016-11-19 21:14:28 +01:00
7ea2ca6c40 Fix #12563 2016-11-19 14:57:40 +01:00
8d69e99e78 removed hack test, updated copyright 2016-11-06 01:49:53 +01:00
eb9ea1f72d added in_place constructors 2016-10-27 01:08:17 +02:00
63454c11aa unit-tests for optional ref conversion fix 2016-10-06 23:17:20 +02:00
f9324a8790 attempt fix at gcc 5.2 c++03 2016-09-02 01:42:26 +02:00
08076e3964 fixed optional<optional<T>&> case 2016-05-17 00:54:09 +02:00
0755ab7b4e removed warnings from tests 2016-03-08 18:47:48 +01:00
865d94a8d8 fixed interop between opt refs and opt vals 2016-03-06 19:08:25 +01:00
442b27c019 fixed static_assert in a test 2016-02-29 00:56:29 +01:00
d3dda39beb removed 'exploration' test 2016-02-20 21:18:47 +01:00
f6e09fbf9c value constructor is sfinae-friendly 2016-02-19 18:41:42 +01:00
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
414728970a fixed optional refs test.
I was using default values for function teplate parameters, wchich does not compile in C++03.
2016-02-17 16:26:47 +01:00
b0602a1161 more unit test for opt ref swap and abstract types 2016-02-17 00:01:13 +01:00
5878212b04 removed incorrect noexcept from tests 2016-02-15 09:14:56 +01:00
94c735af2d added optional ref swap
and also chaned the copyright year in docs
2016-02-13 15:33:07 +01:00
b5b8414c06 Primary template optional<> does not handle references 2016-02-13 00:46:41 +01:00
4b91299d10 update for ticket #11927
std::swap for C++ 03 is located under <algorithm> and for C++11 under <utility>
2016-01-20 11:15:40 -08:00
7138a16680 config: reverted fix 2015-10-20 15:45:30 +02:00
c6abecb89f config: fixed fail test 2015-10-20 09:21:52 +02:00
3ae18175b5 hack: detect intel 2015-10-20 09:15:40 +02:00
9ea065edf1 hack: check rrefs 2015-10-19 10:33:17 +02:00
184816ad4d CFG: handling C++03 compilers 2015-10-15 08:46:52 +02:00
ade05cdffa CFG: handling C++03 compilers 2015-10-15 08:42:36 +02:00
fb1cf2581e Config: detect ref convert bug in gcc 4.4 and 4.5 2015-10-14 23:11:33 +02:00
78fe81e3ed Fixed unused warning 2015-10-12 12:30:57 +02:00
24fbacb037 Fixed unused warning 2015-10-12 12:29:24 +02:00
2eaf223085 fake test for checking build versions 2015-10-12 11:14:59 +02:00
c71e860a06 fake test for checking build versions 2015-10-12 11:14:10 +02:00
7490a62a00 added NO-CONVERT tests 2015-10-10 15:27:46 +02:00
ffa64ccea2 ASSIGN -> CONVERT 2015-10-10 15:26:32 +02:00
80a245c8de ASSIGN -> CONVERT 2015-10-10 15:25:14 +02:00
0d5061aebe experimental optional config test 2015-10-08 18:54:21 +02:00
b0d7786e14 bug fixes 2015-10-06 00:33:14 +02:00
a46b0df3d1 removed Boost.Test dependency 2015-10-03 13:32:48 +02:00
9f8dd57386 boost::none - simpler and works with MSVC 2015-10-02 09:00:57 +02:00
593710e961 doc: added relnotes for 1.59 2015-07-08 23:54:20 +02:00