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

Function main

test/issues/github_260.cpp:19–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17};
18
19int main() {
20 auto curry_tuple = hana::make_tuple(
21 std::make_tuple(hana::curry<2>(DefaultConstructible{})(DefaultConstructible{}))
22 );
23
24 auto partial_tuple = hana::make_tuple(
25 std::make_tuple(hana::partial(DefaultConstructible{}, DefaultConstructible{}))
26 );
27
28 auto reverse_partial_tuple = hana::make_tuple(
29 std::make_tuple(hana::reverse_partial(DefaultConstructible{}, DefaultConstructible{}))
30 );
31
32 static_assert(std::is_default_constructible<decltype(curry_tuple)>::value, "");
33 static_assert(std::is_default_constructible<decltype(partial_tuple)>::value, "");
34 static_assert(std::is_default_constructible<decltype(reverse_partial_tuple)>::value, "");
35}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected