MCPcopy Create free account
hub / github.com/Naios/function2 / assert_wrong_copy_assign

Class assert_wrong_copy_assign

include/function2/function2.hpp:1473–1479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1471
1472template <typename Config, typename T>
1473struct assert_wrong_copy_assign {
1474 static_assert(!Config::is_owning || !Config::is_copyable ||
1475 std::is_copy_constructible<std::decay_t<T>>::value,
1476 "Can't wrap a non copyable object into a unique function!");
1477
1478 using type = void;
1479};
1480
1481template <bool IsStrongExceptGuaranteed, typename T>
1482struct assert_no_strong_except_guarantee {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected