| 873 | // any_committer |
| 874 | |
| 875 | inline auto commitAny(std::any wseData) |
| 876 | { |
| 877 | auto idx = std::type_index(wseData.type()); |
| 878 | auto iter = anyCommitters().find(idx); |
| 879 | (hassert | iter != anyCommitters().end() | "Cannot find commiter of this type!").run(); |
| 880 | iter->second(wseData); |
| 881 | } |
| 882 | |
| 883 | constexpr auto commitChangesToMemory = toFunc<> | [](Integer wstamp, typename WriteSet::Data wset) |
| 884 | { |
no test coverage detected