cppx-core
Namespaces | Functions
fixed-size-checking.hpp File Reference

Static size checkers: bits_per_, array_size_of (raw array, array and bitset) and length_of_literal (any kind of string literal). More...

#include <cppx-core/language/syntax/macro-use.hpp>
#include <cppx-core/language/syntax/type-assemblers.hpp>
#include <cppx-core/language/types/signed-size-types.hpp>
#include <cppx-core/language/bit-level/bits_per_.hpp>
#include <array>
#include <bitset>
#include <iterator>
Include dependency graph for fixed-size-checking.hpp:

Go to the source code of this file.

Namespaces

 cppx
 

Functions

 cppx::CPPX_USE_STD (array, bitset)
 
template<class Item , size_t n>
constexpr auto cppx::array_size_of (const Raw_array_of_< n, Item > &) noexcept -> Size
 
template<class Item , size_t n>
constexpr auto cppx::array_size_of (const array< Item, n > &) noexcept -> Size
 
template<class Item , size_t n>
constexpr auto cppx::array_size_of (const bitset< n > &) noexcept -> Size
 
template<class Char , Size n>
constexpr auto cppx::length_of_literal (Raw_array_of_< n, const Char > &s) noexcept -> Size
 

Detailed Description

Static size checkers: bits_per_, array_size_of (raw array, array and bitset) and length_of_literal (any kind of string literal).

Definition in file fixed-size-checking.hpp.