CppCommon  1.0.4.1
C++ Common Library
Namespaces | Functions
countof.h File Reference

Static array countof definition. More...

Go to the source code of this file.

Namespaces

 CppCommon
 C++ Common project definitions.
 

Functions

template<typename T , size_t N>
constexpr size_t CppCommon::countof (const T(&)[N]) noexcept
 Count of elements in static array. More...
 
template<typename T >
size_t CppCommon::countof (const T &container) noexcept
 Count of elements in any other STL container. More...
 

Detailed Description

Static array countof definition.

Author
Ivan Shynkarenka
Date
31.08.2016

Definition in file countof.h.