about summary refs log tree commit diff stats
path: root/cpp/034exclusive_container
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-17 20:36:25 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-17 20:36:25 -0700
commit0acfaaef6a402d332f2c1e83424e9d4d0ada7455 (patch)
tree4c2912b33a27bda361d2b4227954e84801eb366b /cpp/034exclusive_container
parent7f931ef0f27f2815ca435bd63f3aa77329c2f096 (diff)
downloadmu-0acfaaef6a402d332f2c1e83424e9d4d0ada7455.tar.gz
1088 - start porting the 'buffer' type
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