On Thu, Jan 04, 2018 at 09:35:36AM +1000, David Gwynne wrote: > these days you can use inline functions to get the same effect, but > it is a more obvious and standard language feature.
If you want to go that way, you still should very likely mark the functions as always_inline, otherwise the debugging experience will be a lot more annoying. That said, at least for clang it would be even better to just use the builtin. Joerg
