Home
last modified time | relevance | path

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

/external/libcxx/test/std/containers/views/span.cons/
Dcontainer.pass.cpp37 struct IsAContainer { struct
38 constexpr IsAContainer() : v_{} {} in IsAContainer() argument
39 constexpr size_t size() const {return 1;} in size()
40 constexpr T *data() {return &v_;} in data()
41 constexpr const T *data() const {return &v_;} in data()
43 constexpr T const *getV() const {return &v_;} // for checking in getV()
44 T v_;
Dcontainer.fail.cpp38 struct IsAContainer { struct
39 constexpr IsAContainer() : v_{} {} in IsAContainer() function
40 constexpr size_t size() const {return 1;} in size()
41 constexpr T *data() {return &v_;} in data()
42 constexpr const T *data() const {return &v_;} in data()
44 constexpr const T *getV() const {return &v_;} // for checking in getV()
45 T v_;