Commit 72c8862b authored by Dominik Charousset's avatar Dominik Charousset

Allow initializing maybe<void> from unit

parent 362c5b5e
......@@ -418,6 +418,10 @@ public:
maybe() = default;
maybe(const unit_t&) {
// nop
}
maybe(const none_t&) {
// nop
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment