summaryrefslogtreecommitdiff
path: root/feature
diff options
context:
space:
mode:
Diffstat (limited to 'feature')
-rw-r--r--feature/container/list9
1 files changed, 9 insertions, 0 deletions
diff --git a/feature/container/list b/feature/container/list
index a7a3ed9..5976551 100644
--- a/feature/container/list
+++ b/feature/container/list
@@ -1,3 +1,12 @@
+- Support for object pointers as map keys
+
+ std::map<std::shared_ptr<Product>, quantity> cart;
+
+ Interestingly, wrapping the pointer into a composite value type seems
+ to work (at least compiles).
+
+ See email from axel50397@gmail.com/23-Nov-2014.
+
- Use bulk statements for containers
Should be fairly straightforward since container tables are simple. For