With this solution, somewhere deep down within the implementation the knowledge about the actual result type would be encoded into the embedded VTable within a lib::variant. At interface level, ther will be a double dispatch based on that result type and the desired result type, leading either to a successful access or an error response. |
||
|---|---|---|
| .. | ||
| element-access-test.cpp | ||
| state-map-grouping-storage-test.cpp | ||