Lines Matching refs:NonCopyable

52 struct NonCopyable {  struct
53 constexpr NonCopyable() {} in NonCopyable() argument
55 NonCopyable(NonCopyable const&) = delete;
56 NonCopyable& operator=(NonCopyable const&) = delete;
62 constexpr int& operator()(NonCopyable&&) & { return data; } in operator ()()
63 constexpr int const& operator()(NonCopyable&&) const & { return data; } in operator ()()
65 constexpr int&& operator()(NonCopyable&&) && { return std::move(data); } in operator ()()
66 constexpr int const&& operator()(NonCopyable&&) const && { return std::move(data); } in operator ()()
79 constexpr const int& foo(NonCopyable&&) { in foo() argument
90 NonCopyable arg; in test_b12()
99 typedef typename std::result_of<ClassFunc&&(Functor&&, NonCopyable&&)>::type in test_b12()
134 NonCopyable arg; in test_b5()
143 typedef typename std::result_of<Functor&&(NonCopyable&&)>::type in test_b5()
155 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests()
156 test_b12<int const&(NonCopyable&&) const &, int const&>(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()
163 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests()
164 test_b12<int const&(NonCopyable&&) const &, int const&>(cl); in bullet_one_two_tests()
166 test_b12<int&&(NonCopyable&&) &&, int&&>(std::move(cl)); in bullet_one_two_tests()
167 test_b12<int const&&(NonCopyable&&) const &&, int const&&>(std::move(cl)); in bullet_one_two_tests()
172 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests()
173 test_b12<int const&(NonCopyable&&) const &, int const&>(cl); in bullet_one_two_tests()
175 test_b12<int&(NonCopyable&&) &, int&>(std::move(cl)); in bullet_one_two_tests()
176 test_b12<int const&(NonCopyable&&) const &, int const&>(std::move(cl)); in bullet_one_two_tests()
181 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests()
182 test_b12<int const&(NonCopyable&&) const &, int const&>(cl); in bullet_one_two_tests()
184 test_b12<int&(NonCopyable&&) &, int&>(std::move(cl)); in bullet_one_two_tests()
185 test_b12<int const&(NonCopyable&&) const &, int const&>(std::move(cl)); in bullet_one_two_tests()
190 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests()
191 test_b12<int const&(NonCopyable&&) const &, int const&>(cl); in bullet_one_two_tests()
196 test_b12<int&(NonCopyable&&) &, int&>(cl); in bullet_one_two_tests()
197 test_b12<int const&(NonCopyable&&) const &, int const&>(cl); in bullet_one_two_tests()
251 using FooType = const int&(NonCopyable&&); in bullet_five_tests()