Searched refs:IsAContainer (Results 1 – 2 of 2) sorted by relevance
38 struct IsAContainer { struct39 constexpr IsAContainer() : v_{} {} in IsAContainer() argument71 …std::span<int> s1{IsAContainer<int>()}; // expected-error {{no matching constructor fo… in main()72 …std::span<int, 0> s2{IsAContainer<int>()}; // expected-error {{no matching constructor fo… in main()91 …std::span<float> s1{IsAContainer<int>()}; // expected-error {{no matching constructor for ini… in main()92 …std::span<float, 0> s2{IsAContainer<int>()}; // expected-error {{no matching constructor for ini… in main()97 …std::span< int> s1{IsAContainer<const int>()}; // expected-error {{no mat… in main()98 …std::span< int> s2{IsAContainer< volatile int>()}; // expected-error {{no mat… in main()99 …std::span< int> s3{IsAContainer<const volatile int>()}; // expected-error {{no mat… in main()100 …std::span<const int> s4{IsAContainer< volatile int>()}; // expected-error {{no mat… in main()[all …]
37 struct IsAContainer { struct38 constexpr IsAContainer() : v_{} {} in IsAContainer() argument83 constexpr IsAContainer<const T> val{}; in testConstexprSpan()95 IsAContainer<T> val{}; in testRuntimeSpan()