cxxomfort  rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/
<array>

Backports related to Standard header <array>

// or as part of:

Including the header brings up std::array , accounting for eg.: location being std::tr1::array where set up in C++03+TR1.

If no TR1 is found and the user has defined the macro CXXOFLAG_USE_INTERNAL_TR1, cxxomfort uses this header to provide its own implementation of array.

An std::array is much like a native C-array in that it has a type and size set up at compile time, but it also adds an interface similar to most of C++'s sequence containers: it has a begin/end, an iterator type, and accepts indexing of elements via the operator[].

Interfaces

Interfaces defined in this section:

Interfaces repointed in this section:

Examples

For other examples see the following entries in cxxomfort-examples :

See Also

See also
header/array @ cppreference (cppreference)
array @ cppreference
cxxomfort\'s array_ref
File array.hpp
""
Class array< T, N >
"std::array"