| 11 | struct Foo { }; |
| 12 | |
| 13 | int main() { |
| 14 | auto just = hana::just(Foo{}); |
| 15 | static_assert(std::is_same<decltype(just), hana::optional<Foo>>{}, ""); |
| 16 | |
| 17 | auto nothing = hana::nothing; |
| 18 | static_assert(std::is_same<decltype(nothing), hana::optional<>>{}, ""); |
| 19 | } |
nothing calls this directly
no outgoing calls
no test coverage detected