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

is tag_invoke actually needed? #32

Open
vinniefalco opened this issue Jan 4, 2025 · 0 comments
Open

is tag_invoke actually needed? #32

vinniefalco opened this issue Jan 4, 2025 · 0 comments

Comments

@vinniefalco
Copy link
Member

With wg21 moving away from the tag_invoke idiom, we might re-evaluate whether tag_invoke is actually necessary in Buffers. Instead, we could use member functions. This might be problematic though. buffers::front is necessarily a free function. Whether or not an algorithm is a free function or a member would then vary by algorithm, which impairs ergonomics. An analysis is necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant