A pin lookup for a request uses operator[] which, as we all know, instantiates a default constructed version of the value type. A successful pin isn't bothered by this default construction (the default constructed value will be overwritten), but a failing pin should leave the key/value non-existent (if that was the pre-state). Failure to do so makes it seem as if there's a pin request when there is none.
- Assignee:
- Daniel Gottlieb (Inactive)
- Reporter:
- Daniel Gottlieb (Inactive)
- Votes:
-
0 Vote for this issue
- Watchers:
-
3 Start watching this issue
- Created:
- Updated:
- Resolved: