By changing the underlying storage of RawKeyword to std::list, we ensure that the RawRecords aren't reallocated and moved, preserving the validity of string_view's. This changes the access complexity of RawRecord from O(1) to O(n).
By changing the underlying storage of RawKeyword to std::list, we ensure that the RawRecords aren't reallocated and moved, preserving the validity of string_view's. This changes the access complexity of RawRecord from O(1) to O(n).