MCPcopy Create free account
hub / github.com/boostorg/hana / main

Function main

test/optional/flatten.cpp:15–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14
15int main() {
16 BOOST_HANA_CONSTANT_CHECK(hana::equal(
17 hana::flatten(hana::nothing),
18 hana::nothing
19 ));
20 BOOST_HANA_CONSTANT_CHECK(hana::equal(
21 hana::flatten(hana::just(hana::nothing)),
22 hana::nothing
23 ));
24 BOOST_HANA_CONSTANT_CHECK(hana::equal(
25 hana::flatten(hana::just(hana::just(ct_eq<4>{}))),
26 hana::just(ct_eq<4>{})
27 ));
28}

Callers

nothing calls this directly

Calls 1

equalClass · 0.50

Tested by

no test coverage detected