HomeSort by relevance Sort by last modified time
    Searched refs:IsAContainer (Results 1 - 2 of 2) sorted by null

  /external/libcxx/test/std/containers/views/span.cons/
container.fail.cpp 38 struct IsAContainer {
39 constexpr IsAContainer() : v_{} {}
71 std::span<int> s1{IsAContainer<int>()}; // expected-error {{no matching constructor for initialization of 'std::span<int>'}}
72 std::span<int, 0> s2{IsAContainer<int>()}; // expected-error {{no matching constructor for initialization of 'std::span<int, 0>'}}
91 std::span<float> s1{IsAContainer<int>()}; // expected-error {{no matching constructor for initialization of 'std::span<float>'}}
92 std::span<float, 0> s2{IsAContainer<int>()}; // expected-error {{no matching constructor for initialization of 'std::span<float, 0>'}}
97 std::span< int> s1{IsAContainer<const int>()}; // expected-error {{no matching constructor for initialization of 'std::span<int>'}}
98 std::span< int> s2{IsAContainer< volatile int>()}; // expected-error {{no matching constructor for initialization of 'std::span<int>'}}
99 std::span< int> s3{IsAContainer<const volatile int>()}; // expected-error {{no matching constructor for initialization of 'std::span<int>'}}
100 std::span<const int> s4{IsAContainer< volatile int>()}; // expected-error {{no matching constructor for initialization of 'std:: (…)
    [all...]
container.pass.cpp 37 struct IsAContainer {
38 constexpr IsAContainer() : v_{} {}
83 constexpr IsAContainer<const T> val{};
95 IsAContainer<T> val{};

Completed in 106 milliseconds