Peter Dimov
|
1e986047ae
|
Merge pull request #6 from akrzemi1/patch-1
docs: sizeof(T...) -> sizeof...(T)
|
2019-03-06 19:09:31 +02:00 |
|
Peter Dimov
|
f14228d996
|
Minor README fixes
|
2018-10-19 01:24:26 +03:00 |
|
Peter Dimov
|
3fb00763cb
|
Fix typos
|
2018-10-18 20:24:06 +03:00 |
|
Peter Dimov
|
ebc8959049
|
Update README
|
2018-10-18 19:55:15 +03:00 |
|
Peter Dimov
|
d1acc969f7
|
More g++ 4.8 fixes, const&& doesn't work well
|
2018-10-18 18:51:19 +03:00 |
|
Peter Dimov
|
24d7f83403
|
Rewrite variant_alternative for g++ 4.8
|
2018-10-18 18:33:22 +03:00 |
|
Peter Dimov
|
3b1a709def
|
&v is not a constant expression on g++ 4.x
|
2018-10-18 18:16:11 +03:00 |
|
Peter Dimov
|
a13ccee145
|
Fix tests when X3 is not v2d::trivially_move_assignable
|
2018-10-18 17:46:32 +03:00 |
|
Peter Dimov
|
0e72d274a7
|
X3 is not v2d::trivially_move_assignable on libstdc++ 4.x
|
2018-10-18 17:26:25 +03:00 |
|
Peter Dimov
|
0408c8c16a
|
is_trivially_move_assignable doesn't exist in libstdc++ 4.x
|
2018-10-18 17:10:12 +03:00 |
|
Peter Dimov
|
4c2c30b3c6
|
Remove hdr_type_traits requirement
|
2018-10-18 08:48:08 +03:00 |
|
Peter Dimov
|
c6f441f9f2
|
Finish C++11 port
|
2018-10-18 08:41:37 +03:00 |
|
Peter Dimov
|
4878a5b87c
|
Enable msvc-14.0
|
2018-10-18 07:43:50 +03:00 |
|
Peter Dimov
|
25ff2e77d4
|
Disable warning
|
2018-10-18 07:33:46 +03:00 |
|
Peter Dimov
|
1f0c9b7151
|
Untabify
|
2018-10-18 07:28:52 +03:00 |
|
Peter Dimov
|
9b9c5b2e74
|
Fix msvc-14.1 regression
|
2018-10-18 07:28:39 +03:00 |
|
Peter Dimov
|
90cc6b7374
|
Port to C++11
|
2018-10-18 07:19:45 +03:00 |
|
Peter Dimov
|
38b20dd503
|
Expand get_by_index, get_by_type tests
|
2018-10-18 07:18:13 +03:00 |
|
Peter Dimov
|
bdd1e2c889
|
Update test/Jamfile
|
2018-10-18 04:29:03 +03:00 |
|
Peter Dimov
|
46ee0af110
|
Remove valueless; monostate is enough
|
2018-10-18 03:32:57 +03:00 |
|
Peter Dimov
|
19d48d9d8b
|
Fix .travis.yml; update MSVC workarounds
|
2018-10-18 00:43:01 +03:00 |
|
Peter Dimov
|
4fe9454e3e
|
Update .yml files
|
2018-10-18 00:05:41 +03:00 |
|
Peter Dimov
|
81023c3569
|
Add requirements to test/Jamfile
|
2017-07-04 14:39:36 +03:00 |
|
Peter Dimov
|
070844cbda
|
Execute bootstrap in subshell on Appveyor to preserve TOOLSET
|
2017-06-22 17:36:27 +03:00 |
|
Peter Dimov
|
4a79b5573e
|
Merge branch 'master' into develop
|
2017-06-14 02:07:11 +03:00 |
|
Peter Dimov
|
049be646f7
|
Update README.md
|
2017-06-14 01:08:29 +03:00 |
|
Peter Dimov
|
4de9f80487
|
Require valueless to be first, add test
|
2017-06-14 01:04:36 +03:00 |
|
Peter Dimov
|
44d2ead565
|
Merge pull request #1 from pdimov/pdimov-patch-1
Update README.md
|
2017-06-13 22:02:54 +03:00 |
|
Peter Dimov
|
d169681767
|
Update README.md
|
2017-06-13 22:01:43 +03:00 |
|
Peter Dimov
|
236193114c
|
Add monostate, valueless; opt-into single-buffer is now 'valueless', not arbitrary nothrow default constructible
|
2017-06-13 21:48:14 +03:00 |
|
Peter Dimov
|
66f123af06
|
Merge branch 'develop'
|
2017-06-09 19:13:54 +03:00 |
|
Peter Dimov
|
3bb14bf93b
|
Add emulations for is_trivially_* traits for libstdc++ < 5
|
2017-06-09 17:45:36 +03:00 |
|
Peter Dimov
|
82104cd55e
|
constexpr the copy/move constructors; change copy/move assign to not require constexpr lambdas
|
2017-06-09 17:24:23 +03:00 |
|
Peter Dimov
|
f216bb5c1f
|
Add test/variant_move_assign_cx
|
2017-06-09 15:13:36 +03:00 |
|
Peter Dimov
|
6545dc3d10
|
Add test/variant_copy_assign_cx
|
2017-06-09 15:09:42 +03:00 |
|
Peter Dimov
|
72c16ccee1
|
Add test/variant_value_assign_cx
|
2017-06-09 14:58:49 +03:00 |
|
Peter Dimov
|
870dcee0a8
|
Fix tests accordingly
|
2017-06-09 05:29:22 +03:00 |
|
Peter Dimov
|
ca0e58f3fc
|
is_trivially_copyable doesn't exist on 4.9 either
|
2017-06-09 04:49:44 +03:00 |
|
Peter Dimov
|
3a198b5f2b
|
Use is_trivially_copyable instead of has_trivial_copy_*
|
2017-06-09 04:31:59 +03:00 |
|
Peter Dimov
|
3c18ded3aa
|
Check is_move_constructible, is_move_assignable
|
2017-06-09 04:17:06 +03:00 |
|
Peter Dimov
|
7c00db0600
|
has_trivial_move doesn't exist either in libstd++ pre-5
|
2017-06-09 03:44:02 +03:00 |
|
Peter Dimov
|
893cd7c1e5
|
Add workaround for libstdc++ < 5
|
2017-06-09 03:22:31 +03:00 |
|
Peter Dimov
|
613d411396
|
Fix constexpr emplace on clang and msvc-14.1
|
2017-06-09 02:27:02 +03:00 |
|
Peter Dimov
|
0997734e5c
|
Make emplace constexpr
|
2017-06-09 02:05:34 +03:00 |
|
Peter Dimov
|
48547c9c8a
|
Merge branch 'develop'
|
2017-06-04 18:25:25 +03:00 |
|
Peter Dimov
|
e68ff1f014
|
Fix copy/paste mistake
|
2017-06-04 13:55:42 +03:00 |
|
Peter Dimov
|
1bd9c231ad
|
Update expected.md
|
2017-06-03 16:13:04 +03:00 |
|
Peter Dimov
|
2af60f13a2
|
Update README.md
|
2017-06-03 15:58:27 +03:00 |
|
Peter Dimov
|
6225ba33c3
|
Update doc/expected.md
|
2017-06-03 15:52:07 +03:00 |
|
Peter Dimov
|
d88ba98e92
|
Throw bad_expected_access if throw_on_unexpected returns
|
2017-06-03 15:51:28 +03:00 |
|
Peter Dimov
|
02ecef4fcb
|
Add const on remap_errors()
|
2017-06-03 14:58:44 +03:00 |
|
Peter Dimov
|
2b86468e67
|
Update expected.md
|
2017-06-03 14:57:30 +03:00 |
|
Peter Dimov
|
be5f19f7cf
|
Update expected.md
|
2017-06-03 14:45:22 +03:00 |
|
Peter Dimov
|
4e34749d87
|
Add doc/expected.md
|
2017-06-03 14:43:21 +03:00 |
|
Peter Dimov
|
d5d5af660e
|
Update README.md
|
2017-06-03 14:26:24 +03:00 |
|
Peter Dimov
|
0c7d573af8
|
Update README.md
|
2017-06-03 14:24:41 +03:00 |
|
Peter Dimov
|
f660bd5ae2
|
Merge branch 'develop'
|
2017-06-03 00:46:39 +03:00 |
|
Peter Dimov
|
369781b623
|
Add test/variant_subset
|
2017-06-03 00:27:52 +03:00 |
|
Peter Dimov
|
8765ee1983
|
Add expected::operator>> as an alias for .then
|
2017-06-03 00:12:01 +03:00 |
|
Peter Dimov
|
241f41121e
|
Add test/variant_convert_construct
|
2017-06-03 00:11:33 +03:00 |
|
Peter Dimov
|
e347ecbff1
|
Simplify bad_expected_access<E> a bit
|
2017-06-02 23:28:51 +03:00 |
|
Peter Dimov
|
bdd449ae6a
|
get_if should return 0 when passed 0
|
2017-06-02 22:11:29 +03:00 |
|
Peter Dimov
|
8a4bc23bf2
|
Merge branch 'develop'
|
2017-06-02 20:00:47 +03:00 |
|
Peter Dimov
|
c867329bb8
|
Rename mp_for_index to mp_with_index in expected.hpp, too
|
2017-06-02 18:27:08 +03:00 |
|
Peter Dimov
|
9b3121fac0
|
Rename mp_for_index to mp_with_index
|
2017-06-02 18:25:11 +03:00 |
|
Peter Dimov
|
0b387f5116
|
Add .then
|
2017-06-02 18:11:43 +03:00 |
|
Peter Dimov
|
193a96f83b
|
Merge branch 'develop'
|
2017-06-02 16:19:18 +03:00 |
|
Peter Dimov
|
3d2a3cb3eb
|
Redesign bad_expected_access
|
2017-06-02 15:59:43 +03:00 |
|
Peter Dimov
|
6704a008da
|
Merge branch 'develop'
|
2017-06-02 06:27:21 +03:00 |
|
Peter Dimov
|
d55db1dbc6
|
Replace use of get<> with ._get_impl for better codegen
|
2017-06-02 06:02:50 +03:00 |
|
Peter Dimov
|
c99bf2205c
|
Move index() into variant_base to avoid needless ix_ >= 0 checks when single buffered
|
2017-06-02 05:41:13 +03:00 |
|
Peter Dimov
|
2a6c157fcc
|
Add preliminary expected<T, E...> implementation
|
2017-06-02 05:15:51 +03:00 |
|
Peter Dimov
|
f4f949fc2f
|
Add converting constructors, subset<U...>()
|
2017-06-02 05:14:40 +03:00 |
|
Peter Dimov
|
0f0068b562
|
Merge branch 'develop'
|
2017-06-02 01:55:03 +03:00 |
|
Peter Dimov
|
26c1f716ec
|
Add test/variant_lt_gt
|
2017-06-02 00:44:20 +03:00 |
|
Peter Dimov
|
3a7078cdfb
|
Add preliminary outcome.hpp
|
2017-06-01 21:47:40 +03:00 |
|
Peter Dimov
|
ca14504675
|
Add preliminary result.hpp
|
2017-06-01 21:22:19 +03:00 |
|
Peter Dimov
|
6a45fa56ad
|
Fix copyright
|
2017-06-01 21:18:57 +03:00 |
|
Peter Dimov
|
77e8c46074
|
Fix return type of visit() to properly take cv& into account
|
2017-06-01 19:24:50 +03:00 |
|
Peter Dimov
|
c891c8e205
|
Do not include boost/mp11.hpp if already included, to allow use on Compiler Explorer
|
2017-06-01 17:27:17 +03:00 |
|
Peter Dimov
|
c9cc111d0d
|
Merge branch 'develop'
|
2017-06-01 02:51:04 +03:00 |
|
Peter Dimov
|
bcf20069ee
|
Update README.md
|
2017-06-01 02:48:27 +03:00 |
|
Peter Dimov
|
6ad3e2fd12
|
Rename tests
|
2017-06-01 02:03:35 +03:00 |
|
Peter Dimov
|
db565aaa73
|
Implement visit
|
2017-06-01 01:48:38 +03:00 |
|
Peter Dimov
|
f74da6d382
|
Rename mp_for_index_c to mp_for_index
|
2017-05-31 23:18:37 +03:00 |
|
Peter Dimov
|
89e3588c9b
|
Add test/variant_destroy
|
2017-05-31 20:48:17 +03:00 |
|
Peter Dimov
|
ef849a0feb
|
Use mp_for_index_c
|
2017-05-31 20:29:57 +03:00 |
|
Peter Dimov
|
b7d039e30f
|
Test develop against mp11 develop
|
2017-05-31 07:59:35 +03:00 |
|
Peter Dimov
|
7d25e131be
|
Add SFINAE conditions
|
2017-05-31 07:42:45 +03:00 |
|
Peter Dimov
|
abb7b551cc
|
Extend g++5 workaround for consistency to rvalue overloads
|
2017-05-31 05:46:34 +03:00 |
|
Peter Dimov
|
ab0d867411
|
Another attempt at g+ 5 fix
|
2017-05-31 05:36:35 +03:00 |
|
Peter Dimov
|
08bfd69387
|
Single buffer when a type is nothrow default constructible
|
2017-05-31 04:59:59 +03:00 |
|
Peter Dimov
|
4f241bd8b0
|
Try a fix for g++ 5
|
2017-05-31 04:55:30 +03:00 |
|
Peter Dimov
|
755bc60c2b
|
Add initializer list support
|
2017-05-31 04:19:40 +03:00 |
|
Peter Dimov
|
8301228e22
|
Add test/variant_eq_ne
|
2017-05-31 04:02:23 +03:00 |
|
Peter Dimov
|
4bb5cdab60
|
Add test/variant_swap
|
2017-05-31 03:36:08 +03:00 |
|
Peter Dimov
|
fd848a8698
|
Add test/variant_emplace_index, _type
|
2017-05-31 02:27:20 +03:00 |
|
Peter Dimov
|
77fe037209
|
Add test/variant_value_assign
|
2017-05-31 01:31:46 +03:00 |
|
Peter Dimov
|
e0e48d365c
|
Add test/variant_copy_assign, variant_move_assign
|
2017-05-30 18:00:07 +03:00 |
|
Peter Dimov
|
21acb2bda0
|
Add test/variant_in_place_type_construct(_cx)
|
2017-05-30 17:12:26 +03:00 |
|