Searched defs:CountCopyAndMove (Results 1 – 4 of 4) sorted by relevance
150 struct CountCopyAndMove { struct151 static int Move;152 static int Copy;153 int Value;154 CountCopyAndMove(int Value) : Value(Value) {} in CountCopyAndMove() function156 CountCopyAndMove(const CountCopyAndMove &RHS) { in CountCopyAndMove() argument160 CountCopyAndMove &operator=(const CountCopyAndMove &RHS) { in operator =()165 CountCopyAndMove(CountCopyAndMove &&RHS) { in CountCopyAndMove() argument169 CountCopyAndMove &operator=(const CountCopyAndMove &&RHS) { in operator =()
334 struct CountCopyAndMove { struct335 static int Move;336 static int Copy;337 CountCopyAndMove() {} in CountCopyAndMove() argument339 CountCopyAndMove(const CountCopyAndMove &) { Copy++; } in CountCopyAndMove() function340 CountCopyAndMove &operator=(const CountCopyAndMove &) { in operator =()344 CountCopyAndMove(CountCopyAndMove &&) { Move++; } in CountCopyAndMove() argument345 CountCopyAndMove &operator=(const CountCopyAndMove &&) { in operator =()
83 struct CountCopyAndMove { struct85 CountCopyAndMove(const CountCopyAndMove &) { copy = 1; } in CountCopyAndMove() function86 CountCopyAndMove(CountCopyAndMove &&) { move = 1; } in CountCopyAndMove() argument87 void operator=(const CountCopyAndMove &) { ++copy; } in operator =()88 void operator=(CountCopyAndMove &&) { ++move; } in operator =()89 int copy = 0;90 int move = 0;
327 struct CountCopyAndMove { struct328 static int Move;329 static int Copy;330 CountCopyAndMove() {} in CountCopyAndMove() argument332 CountCopyAndMove(const CountCopyAndMove &) { Copy++; } in CountCopyAndMove() function333 CountCopyAndMove &operator=(const CountCopyAndMove &) { in operator =()337 CountCopyAndMove(CountCopyAndMove &&) { Move++; } in CountCopyAndMove() function338 CountCopyAndMove &operator=(const CountCopyAndMove &&) { in operator =()