about summary refs log tree commit diff stats
path: root/cpp/034exclusive_container
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/034exclusive_container')
-rw-r--r--cpp/034exclusive_container1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/034exclusive_container b/cpp/034exclusive_container
index e38433d6..8f9fe842 100644
--- a/cpp/034exclusive_container
+++ b/cpp/034exclusive_container
@@ -40,6 +40,7 @@ recipe main [
 :(before "End size_of(types) Cases")
 if (t.kind == exclusive_container) {
   // size of an exclusive container is the size of its largest variant
+  // (So like containers, it can't contain arrays.)
 //?   cout << "--- " << types[0] << ' ' << t.size << '\n'; //? 1
 //?   cout << "point: " << Type_number["point"] << " " << Type[Type_number["point"]].name << " " << Type[Type_number["point"]].size << '\n'; //? 1
 //?   cout << t.name << ' ' << t.size << ' ' << t.elements.size() << '\n'; //? 1