4 ms·
Then read the clang builtins, much better. With clang you can do C++ stuff, not only _Generic, but overloadable. Which is useful for arbitrary struct support fo
by rurban 6y ago
Then read the clang builtins, much better. With clang you can do C++ stuff, not only _Generic, but overloadable. Which is useful for arbitrary struct support for this problem. https://clang.llvm.org/docs/AttributeReference.html#overloadable https://clang.llvm.org/docs/AttributeReference.html#overload...
gcc's compile-time expression chooser is also severely limited compared to clang.
- exebook 6y agoThanks, very interesting. Unfortunately my main compiler is TinyC so I am limited to those extensions that it supports, although TinyC's community is open to ideas and may be they can add missing bits eventually.