by pjmlp · 9y ago · 0 comments
template<class T>
constexpr bool is_space(const T & x) {
return x == ' ' || x == '\n';
}
Debuggable, type safe and same performance as straight C code.Yep.
Then again, inline does not mean what most people think.