in some STL documentation I read that each element which shall be used inside a STL-container (e.g. vector) must have a copy constructor and an assignment operator (operator=).
The same documentation states, that these two functions are automatically generated by the C++ compiler.
Is this true? Are all member variables automatically "copied" by these default operations?