Lines Matching refs:NonCopyable
46 struct NonCopyable { struct
47 NonCopyable() {} in NonCopyable() argument
49 NonCopyable(NonCopyable const&) = delete;
50 NonCopyable& operator=(NonCopyable const&) = delete;
56 int& operator()(NonCopyable&&) & { return data; } in operator ()()
57 int const& operator()(NonCopyable&&) const & { return data; } in operator ()()
58 int volatile& operator()(NonCopyable&&) volatile & { return data; } in operator ()()
59 int const volatile& operator()(NonCopyable&&) const volatile & { return data; } in operator ()()
61 int&& operator()(NonCopyable&&) && { return std::move(data); } in operator ()()
62 int const&& operator()(NonCopyable&&) const && { return std::move(data); } in operator ()()
63 int volatile&& operator()(NonCopyable&&) volatile && { return std::move(data); } in operator ()()
64 int const volatile&& operator()(NonCopyable&&) const volatile && { return std::move(data); } in operator ()()
76 int& foo(NonCopyable&&) { in foo() argument
88 NonCopyable arg; in test_b12()
97 typedef typename std::result_of<ClassFunc&&(Functor&&, NonCopyable&&)>::type in test_b12()
132 NonCopyable arg; in test_b5()
141 typedef typename std::result_of<Functor&&(NonCopyable&&)>::type in test_b5()
153 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests()
154 test_b12<int const&(NonCopyable&&) const &, int const&>(cl); in bullet_one_two_tests()
155 test_b12<int volatile&(NonCopyable&&) volatile &, int volatile&>(cl); in bullet_one_two_tests()
156 test_b12<int const volatile&(NonCopyable&&) const volatile &, int const volatile&>(cl); in bullet_one_two_tests()
158 test_b12<int&&(NonCopyable&&) &&, int&&>(std::move(cl)); in bullet_one_two_tests()
159 test_b12<int const&&(NonCopyable&&) const &&, int const&&>(std::move(cl)); in bullet_one_two_tests()
160 test_b12<int volatile&&(NonCopyable&&) volatile &&, int volatile&&>(std::move(cl)); in bullet_one_two_tests()
161 …test_b12<int const volatile&&(NonCopyable&&) const volatile &&, int const volatile&&>(std::move(cl… in bullet_one_two_tests()
165 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests()
166 test_b12<int const&(NonCopyable&&) const &, int const&>(cl); in bullet_one_two_tests()
167 test_b12<int volatile&(NonCopyable&&) volatile &, int volatile&>(cl); in bullet_one_two_tests()
168 test_b12<int const volatile&(NonCopyable&&) const volatile &, int const volatile&>(cl); in bullet_one_two_tests()
170 test_b12<int&&(NonCopyable&&) &&, int&&>(std::move(cl)); in bullet_one_two_tests()
171 test_b12<int const&&(NonCopyable&&) const &&, int const&&>(std::move(cl)); in bullet_one_two_tests()
172 test_b12<int volatile&&(NonCopyable&&) volatile &&, int volatile&&>(std::move(cl)); in bullet_one_two_tests()
173 …test_b12<int const volatile&&(NonCopyable&&) const volatile &&, int const volatile&&>(std::move(cl… in bullet_one_two_tests()
178 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests()
179 test_b12<int const&(NonCopyable&&) const &, int const&>(cl); in bullet_one_two_tests()
180 test_b12<int volatile&(NonCopyable&&) volatile &, int volatile&>(cl); in bullet_one_two_tests()
181 test_b12<int const volatile&(NonCopyable&&) const volatile &, int const volatile&>(cl); in bullet_one_two_tests()
183 test_b12<int&(NonCopyable&&) &, int&>(std::move(cl)); in bullet_one_two_tests()
184 test_b12<int const&(NonCopyable&&) const &, int const&>(std::move(cl)); in bullet_one_two_tests()
185 test_b12<int volatile&(NonCopyable&&) volatile &, int volatile&>(std::move(cl)); in bullet_one_two_tests()
186 … test_b12<int const volatile&(NonCopyable&&) const volatile &, int const volatile&>(std::move(cl)); in bullet_one_two_tests()
191 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests()
192 test_b12<int const&(NonCopyable&&) const &, int const&>(cl); in bullet_one_two_tests()
193 test_b12<int volatile&(NonCopyable&&) volatile &, int volatile&>(cl); in bullet_one_two_tests()
194 test_b12<int const volatile&(NonCopyable&&) const volatile &, int const volatile&>(cl); in bullet_one_two_tests()
196 test_b12<int&(NonCopyable&&) &, int&>(std::move(cl)); in bullet_one_two_tests()
197 test_b12<int const&(NonCopyable&&) const &, int const&>(std::move(cl)); in bullet_one_two_tests()
198 test_b12<int volatile&(NonCopyable&&) volatile &, int volatile&>(std::move(cl)); in bullet_one_two_tests()
199 … test_b12<int const volatile&(NonCopyable&&) const volatile &, int const volatile&>(std::move(cl)); in bullet_one_two_tests()
204 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests()
205 test_b12<int const&(NonCopyable&&) const &, int const&>(cl); in bullet_one_two_tests()
206 test_b12<int volatile&(NonCopyable&&) volatile &, int volatile&>(cl); in bullet_one_two_tests()
207 test_b12<int const volatile&(NonCopyable&&) const volatile &, int const volatile&>(cl); in bullet_one_two_tests()
212 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests()
213 test_b12<int const&(NonCopyable&&) const &, int const&>(cl); in bullet_one_two_tests()
214 test_b12<int volatile&(NonCopyable&&) volatile &, int volatile&>(cl); in bullet_one_two_tests()
215 test_b12<int const volatile&(NonCopyable&&) const volatile &, int const volatile&>(cl); in bullet_one_two_tests()
283 using FooType = int&(NonCopyable&&); in bullet_five_tests()