nkr
A C++20 library with a custom meta-programming language.
nkr::array Namespace Reference

Array types are used to represent multiple values of the same type in various ways and locations. More...

Detailed Description

Array types are used to represent multiple values of the same type in various ways and locations.

Each array has at least two prominent qualitative dimensions: local to remote, and static to dynamic. The static arrays can not grow in size whereas dynamic arrays can both increase and decrease their capacity. The local arrays store their units within themselves such as on the stack, in the read section, or even on the heap, whereas a remote array only ever stores its units in an external location, wherever that may be.

Arrays are one of the most fundamental types for all of programming and thus boast an impressive amount of diversity both in quality and use-case. With these divergent qualities comes explicit control over how your data will behave.

Note
These dimensions extend to other types that make heavy use of arrays internally, such as strings.