kblib 0.2.3
General utilities library for modern C++
|
std::array isn't constexpr enough in C++14, so a dedicated array class is needed for constexpr functions. More...
#include <kblib/stats.h>
Public Member Functions | |
constexpr auto | operator[] (std::size_t n) -> T & |
constexpr auto | operator[] (std::size_t n) const -> const T & |
constexpr auto | size () const -> std::size_t |
constexpr auto | begin () &noexcept -> T * |
constexpr auto | begin () const &noexcept -> const T * |
constexpr auto | end () &noexcept -> T * |
constexpr auto | end () const &noexcept -> const T * |
Public Attributes | |
T | arr [N] |
Friends | |
constexpr friend auto | operator== (const trivial_array &a, const trivial_array &b) noexcept -> bool |
constexpr friend auto | operator!= (const trivial_array &a, const trivial_array &b) noexcept -> bool |
std::array isn't constexpr enough in C++14, so a dedicated array class is needed for constexpr functions.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
friend |
|
friend |
T kblib::trivial_array< T, N >::arr[N] |