Skip to content

Commit fcf729c

Browse files
author
Daniel Kroening
committed
add an implementation of std::variant<...>
This allows strengthening type safety in a number of data structures we already have.
1 parent ab81ffc commit fcf729c

File tree

3 files changed

+2840
-0
lines changed

3 files changed

+2840
-0
lines changed

src/nonstd/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@
55

66
`nonstd` contains implementations of C++ utilities that are not yet
77
part of the standard library, e.g. for `optional`.
8+
9+
variant.hpp implements `variant`; it is
10+
https://github.com/mpark/variant/blob/single-header/v1.4.0/variant.hpp
11+
License is at
12+
https://github.com/mpark/variant/blob/single-header/LICENSE.md

0 commit comments

Comments
 (0)