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

Function main

example/map/values.cpp:19–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18
19int main() {
20 auto m = hana::make_map(
21 hana::make_pair(hana::int_c<1>, "foobar"s),
22 hana::make_pair(hana::type_c<void>, 1234)
23 );
24
25 // The order of the values is unspecified.
26 BOOST_HANA_RUNTIME_CHECK(
27 hana::values(m) ^hana::in^ hana::permutations(hana::make_tuple("foobar"s, 1234))
28 );
29}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected