| 30 | using namespace TEngine; |
| 31 | |
| 32 | struct A |
| 33 | { |
| 34 | A() |
| 35 | { |
| 36 | val = "none"; |
| 37 | } |
| 38 | |
| 39 | A(const std::string& str) |
| 40 | { |
| 41 | val = str; |
| 42 | } |
| 43 | |
| 44 | A(A&& a) |
| 45 | { |
| 46 | val = std::move(a.val); |
| 47 | } |
| 48 | |
| 49 | A& operator=(A&& a) |
| 50 | { |
| 51 | val = std::move(a.val); |
| 52 | |
| 53 | return *this; |
| 54 | } |
| 55 | |
| 56 | ~A() {} |
| 57 | |
| 58 | std::string val; |
| 59 | }; |
| 60 | |
| 61 | namespace TEngine { |
| 62 |
nothing calls this directly
no outgoing calls
no test coverage detected