Are there valid reasons as to why `std::array` is not a part of the freestanding libraries?
Are there valid reasons as to why std::array
is not a part of the freestanding libraries?
I'm doing a school project that requires me to use freestanding libraries and I chose to use C++. I really like using modern C++. The more colons I use, the happier I am.
So I was surprised to find that std::array
is not available to use. I mean, is it anything more than
template<typename T, std::size_t N>
struct array {
T value;
std::size_t __size;
array() : __size { N } {}
};
Here's the list of freestanding libraries.