|
template<typename TStorage> |
|
auto DeleteAll(TStorage& storage) |
|
{ |
|
auto handler = [](typename TStorage::LinkType before, typename TStorage::LinkType substitution) { |
|
return typename TStorage::LinkAddressType {}; |
|
}; |
|
auto any = storage.Constants.Any; |
|
for (auto count = Count(storage); count != storage.Constants.Null; count = Count(storage)) |
|
{ |
|
DIRECT_METHOD_CALL(TStorage, storage, Delete, {count, any, any}, handler); |
|
} |
|
} |
This task must be completed only after linksplatform/Data#125 is completed
Data.Doublets/cpp/Platform.Data.Doublets/ILinksExtensions.h
Lines 686 to 697 in 23f4871
This task must be completed only after linksplatform/Data#125 is completed