Home
last modified time | relevance | path

Searched refs:IsAContainer (Results 1 – 2 of 2) sorted by relevance

/external/libcxx/test/std/containers/views/span.cons/
Dcontainer.fail.cpp38 struct IsAContainer { struct
39 constexpr IsAContainer() : v_{} {} in IsAContainer() argument
71 …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 …]
Dcontainer.pass.cpp37 struct IsAContainer { struct
38 constexpr IsAContainer() : v_{} {} in IsAContainer() argument
83 constexpr IsAContainer<const T> val{}; in testConstexprSpan()
95 IsAContainer<T> val{}; in testRuntimeSpan()