25
edits
Changes
→Records:
==== Records: ====
Records are similar to classes, but there are several important differences: * classes . '''Records''' doesn't support inheritance and virtual dispatch while records do not* different class variables can refer to the same instance, while but it supports copy constructor and copy assignment. And record variables refer to a distinct memory* copy-initialization and assignment can be implemented for records but not for classes.
=== Iterators ===