#include <array> int main(){ std::array<int, 2> a = {1, 2}; std::array<int, 2> b(a);}
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!