-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
enhancementNew feature or requestNew feature or request
Description
So that we can optionally drop the type prefixes, currently clang-only.
https://clang.llvm.org/docs/AttributeReference.html#overloadable
// instead of
uset_int a = uset_int_init(NULL, NULL); // integral types have default methods
uset_int_insert(&a, 1);
// do
#define CTL_OVERLOADABLE
#define T int
#include <ctl/unordered_set.h>
uset_int a = uset_int_init(NULL, NULL);
insert(&a, 1);See also _Generic support via #4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request