Commit Graph

15 Commits

Author SHA1 Message Date
6ed70a4839 concepts: split and remove C++20 re-implementations 2022-03-18 12:19:18 +10:00
12716e8cb2 types/tagged: simplify the implementation of detail::visit 2020-12-02 12:05:26 +10:00
fdd8723bf4 types/tagged: use more explicit return types for tag 2020-12-02 12:04:45 +10:00
8111074a44 types/tagged: add not-equal operator 2020-10-21 10:22:51 +10:00
2d6d924d66 types/tagged: support cvref in visit 2020-09-22 07:54:15 +10:00
1550529a39 types/tagged: add an equality operator 2020-07-21 15:05:21 +10:00
4a556af89d types/tagged: add 'visit' call 2020-04-01 14:52:32 +11:00
c9b5605213 types/tagged: add type query 2020-04-01 14:52:17 +11:00
28a7890681 types/tagged: use concepts to restrict assignable types 2020-02-24 14:41:37 +11:00
07b1b04abc types/tagged: change requirements to trivially copyable+destructible
We don't care about constructible given we do that ourselves internally.
2019-07-15 14:34:55 +10:00
3c78e19c99 types/tagged: prefer variadic alignas over explicit calculation
This reduces the scope for constant integral expression errors under GCC
9
2019-05-04 11:33:59 +10:00
c3840f05b8 types/tagged: prefer forward to move 2019-03-11 13:01:01 +11:00
d124fffcb3 types/tagged: add const accessor 2019-03-11 12:11:03 +11:00
a691683c7d types/tagged: add missing include for alignment cast 2018-11-13 15:20:10 +11:00
6b00668692 types: add 'tagged' union type 2018-11-13 12:57:19 +11:00