Lines Matching refs:move_only
52 class move_only
56 move_only(const move_only&);
57 move_only& operator=(const move_only&);
59 move_only(move_only&);
60 move_only& operator=(move_only&);
66 move_only(move_only&&) {++move_only_constructed;}
67 move_only& operator=(move_only&&) {return *this;}
69 operator std::__rv<move_only> () {return std::__rv<move_only>(*this);}
70 move_only(std::__rv<move_only>) {++move_only_constructed;}
73 move_only() {++move_only_constructed;}
74 ~move_only() {--move_only_constructed;}
125 std::allocator<move_only> a;
129 move_only* ap = a.allocate(3);
141 a.construct(ap, move_only());