We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2be93d3 commit 0c295e0Copy full SHA for 0c295e0
1 file changed
arc.h
@@ -68,6 +68,7 @@ namespace arc {
68
struct atom {
69
enum type type = T_NIL;
70
std::variant<
71
+ std::monostate,
72
std::shared_ptr<struct cons>,
73
sym,
74
double,
@@ -77,7 +78,7 @@ namespace arc {
77
78
FILE *,
79
std::shared_ptr<table>,
80
char,
- jmp_buf *> val = 0.0;
81
+ jmp_buf *> val;
82
83
template <typename T>
84
T& asp() const { return *std::get<std::shared_ptr<T>>(val); }
0 commit comments