Comment Comment by simonask For all the shortcomings of C++ templates, they are vastly preferable to preprocessor macros. At least they allow for a modicum of type safety. parent simonask 5 days ago