|
cxxomfort
rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/
|
Implementation of std::size , std::data , std::empty. More...
Namespaces | |
| cxxomfort | |
Namespace of the cxxomfort library. | |
| cxxomfort::cxxostd | |
| Backports made available by cxxomfort. | |
Functions | |
| template<typename C > | |
| C::size_type | size (C &c) |
| Returns the size (number of elements) of a sequence / container expression. More... | |
| template<typename C > | |
| constexpr auto | data (C &container) -> decltype(container.data()) |
| provides access to an internal "<code>.data()</code>" member. More... | |
| template<typename C > | |
| bool | data (C const &container) |
| provides access to an internal "<code>.empty()</code>" member. More... | |
| template<typename C > | |
| bool | empty (C const &c) |
Accesses and returns the .empty() member of the container. More... | |
| template<typename C > | |
| size_t | size (C const &c) |
Accesses and returns the .size() member of the container. More... | |
| template<typename C > | |
| C::pointer | data (C const &c) |
Accesses and returns the .data() member of the container. More... | |
Implementation of std::size , std::data , std::empty.
1.8.13