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

Function force_move

test/src/result.constexpr.test.cpp:43–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41/// \return a new T object
42template <typename T>
43constexpr auto force_move(T&& x) -> T {
44 return static_cast<T&&>(x);
45}
46
47struct constexpr_type
48{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected