Lines Matching refs:doCopy
23 constexpr bool doCopy(const T &rhs) in doCopy() function
37 assert((doCopy(std::span<T> () ))); in testCV()
38 assert((doCopy(std::span<T,0>() ))); in testCV()
39 assert((doCopy(std::span<T> (&arr[0], 1)))); in testCV()
40 assert((doCopy(std::span<T,1>(&arr[0], 1)))); in testCV()
41 assert((doCopy(std::span<T> (&arr[0], 2)))); in testCV()
42 assert((doCopy(std::span<T,2>(&arr[0], 2)))); in testCV()
50 static_assert(doCopy(std::span< int> ()), ""); in main()
51 static_assert(doCopy(std::span< int,0>()), ""); in main()
52 static_assert(doCopy(std::span<const int> (&carr[0], 1)), ""); in main()
53 static_assert(doCopy(std::span<const int,1>(&carr[0], 1)), ""); in main()
54 static_assert(doCopy(std::span<const int> (&carr[0], 2)), ""); in main()
55 static_assert(doCopy(std::span<const int,2>(&carr[0], 2)), ""); in main()
57 static_assert(doCopy(std::span<long>()), ""); in main()
58 static_assert(doCopy(std::span<double>()), ""); in main()
59 static_assert(doCopy(std::span<A>()), ""); in main()
62 assert(doCopy(std::span<std::string> () )); in main()
63 assert(doCopy(std::span<std::string, 0>() )); in main()
64 assert(doCopy(std::span<std::string> (&s, 1))); in main()
65 assert(doCopy(std::span<std::string, 1>(&s, 1))); in main()