Skip to content

Optional ctl/generic.h #4

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

Open
rurban opened this issue Jan 14, 2021 · 0 comments
Open

Optional ctl/generic.h #4

rurban opened this issue Jan 14, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rurban
Copy link
Owner

rurban commented Jan 14, 2021

Use C11 _Generic type-specializers to get rid of the longer names, when requested.
Thus vec_int_init_from(&vec) would be vec_init_from(&vec) or even init_from(&vec)

We cannot make that optional as with integral methods, but only user-requested, and only for supporting compilers. (most)

@rurban rurban self-assigned this Jan 14, 2021
@rurban rurban added the enhancement New feature or request label Jan 14, 2021
@rurban rurban changed the title Optional ctl/generics.h Optional ctl/generic.h Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant