| 48 | /// Recreate the address look-up table for a container |
| 49 | template <typename ContainerType> |
| 50 | static void updateAddressLookup_(const ContainerType& container, |
| 51 | IdentificationData::AddressLookup& lookup) |
| 52 | { |
| 53 | lookup.clear(); |
| 54 | lookup.reserve(container.size()); |
| 55 | for (const auto& element : container) |
| 56 | { |
| 57 | lookup.insert(uintptr_t(&element)); |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | /// Helper function to add a meta value to an element in a multi-index container |
| 62 | template <typename RefType, typename ContainerType> |