Lines Matching defs:Dummy
25 struct Dummy {
26 Dummy() {
29 std::cerr << "Construct Dummy{0x" << (void*)this << "} with data=0x"
33 Dummy(const Dummy& rhs) {
39 std::cerr << "CopyConstruct Dummy{0x" << (void*)this << "} from Dummy{0x"
43 Dummy(Dummy&& rhs) {
46 std::cerr << "MoveConstruct Dummy{0x" << (void*)this << "} from Dummy{0x"
50 Dummy& operator=(const Dummy& rhs) {
58 std::cerr << "CopyAssign Dummy{0x" << (void*)this << "} from Dummy{0x"
63 Dummy& operator=(Dummy&& rhs) {
67 std::cerr << "MoveAssign Dummy{0x" << (void*)this << "} from Dummy{0x"
72 ~Dummy() {
73 std::cerr << "Destruct Dummy{0x" << (void*)this << "} with data=0x"
103 Maybe<Dummy> val = make_nothing<Dummy>();
105 Maybe<Dummy> val2 = make_value(Dummy());
109 Maybe<Dummy> val;
111 Maybe<Dummy> val2 = Dummy();