#include <vector>
#include <cstddef>
#include <type_traits>
Namespaces | |
drake | |
Functions | |
template<class C > | |
constexpr auto | ssize (const C &c) -> std::common_type_t< std::ptrdiff_t, std::make_signed_t< decltype(c.size())> > |
Implements C++20 std::ssize() for earlier compilers. More... | |
template<class T , std::ptrdiff_t N> | |
constexpr std::ptrdiff_t | ssize (const T(&array)[N]) noexcept |
This signature returns the size of built-in (C style) arrays. More... | |