Create an object/Native demonstration: Difference between revisions
Content added Content deleted
mNo edit summary |
(Clarification?) |
||
Line 5: | Line 5: | ||
* No new keys can be added; |
* No new keys can be added; |
||
* Keys cannot be removed; |
* Keys cannot be removed; |
||
* Attempting to delete a key should set that keys value back to that used during initialisation. |
|||
* A key can be reset its original initialized value. |
|||
(The value assigned to keys may be changed by normal assignment however). |
|||
If the language supports '''Magic Methods''', then show how these work. |
|||
=={{header|C++}}== |
=={{header|C++}}== |