MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / MoveOnly

Class MoveOnly

Source/Engine/Tests/TestNullable.cpp:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 SECTION("Move-Only Type")
27 {
28 struct MoveOnly
29 {
30 MoveOnly() = default;
31 ~MoveOnly() = default;
32
33 MoveOnly(const MoveOnly&) = delete;
34 MoveOnly(MoveOnly&&) = default;
35
36 MoveOnly& operator=(const MoveOnly&) = delete;
37 MoveOnly& operator=(MoveOnly&&) = default;
38 };
39
40 Nullable<MoveOnly> a;
41

Callers 1

TestNullable.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected