You can't store arrays in containers because they are neither assignable nor copyable, which are the requirements for all objects that are used with Standard Library containers.
The assignment operator is only attempted when you do push_backpush_back() which is why your code compiles without itcompiles without it.