MCPcopy Create free account
hub / github.com/bitwizeshift/result / default_construct_test

Class default_construct_test

test/src/failure.test.cpp:57–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55};
56
57struct default_construct_test
58{
59 static constexpr auto default_value = 42;
60
61 default_construct_test() : value{default_value}{}
62
63 int value;
64};
65constexpr decltype(default_construct_test::default_value) default_construct_test::default_value;
66
67template <typename T>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected