libcopp 2.3.1
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
utility_data_size.h File Reference
#include "libcopp/utils/config/compile_optimize.h"
#include "libcopp/utils/config/libcopp_build_features.h"
#include <string>
Include dependency graph for utility_data_size.h:

Go to the source code of this file.

Namespaces

namespace  nostd
 

Functions

template<class TCONTAINER >
LIBCOPP_COPP_API_HEAD_ONLY constexpr auto nostd::size (const TCONTAINER &container) -> decltype(container.size())
 
template<class T , size_t SIZE>
LIBCOPP_COPP_API_HEAD_ONLY constexpr size_t nostd::size (const T(&)[SIZE]) noexcept
 
template<class TCONTAINER >
LIBCOPP_COPP_API_HEAD_ONLY constexpr auto nostd::data (TCONTAINER &container) -> decltype(container.data())
 
template<class TCONTAINER >
LIBCOPP_COPP_API_HEAD_ONLY constexpr auto nostd::data (const TCONTAINER &container) -> decltype(container.data())
 
template<class T , size_t SIZE>
LIBCOPP_COPP_API_HEAD_ONLY constexpr T * nostd::data (T(&array_value)[SIZE]) noexcept
 
template<class TELEMENT >
LIBCOPP_COPP_API_HEAD_ONLY constexpr const TELEMENT * nostd::data (std::initializer_list< TELEMENT > l) noexcept