Drake
Drake C++ Documentation
ssize.h File Reference
#include <vector>
#include <cstddef>
#include <type_traits>
Include dependency graph for ssize.h:
This graph shows which files directly or indirectly include this file:

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...