Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ILInks extension from Data #375

Open
FreePhoenix888 opened this issue Mar 25, 2023 · 0 comments
Open

Use ILInks extension from Data #375

FreePhoenix888 opened this issue Mar 25, 2023 · 0 comments
Projects

Comments

@FreePhoenix888
Copy link
Member

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

@FreePhoenix888 FreePhoenix888 added this to To Do in Development Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant