A) In std::array, the following is allowed: std::array<int, 3> arr = {1, 2, 3};
Is it possible to do this for a custom class? If so, how?
B) Is it possible to write a class that functions and performs pretty much like std::vector in pure C++? I realize that the STL is implemented differently between, say, G++ and VC++, but is the original code written in C++, or does it also use Assembly or C?
We don't really care how the library internals are implemented, as long as they fulfill the requirements stated in the standard. A lot of standard library is templates, template code is visible in headers, and obviously C++ (for C or assemply does not have such template syntax).