No, that&#x27;s just a very basic implementation of macros. Even C can implement max that way.<p>What distinguishes templates from macros is that templates deeply interact with and are instiantiated at the time of typechecking. Macros, on the other hand, are expanded at parse time (or, in more sophisticated implementations, at name resolution time).