Fresh on Crazy Eddie's Crazy C++ (fortunately not entirely true...):
Tutorial on tag dispatching
by Crazy Eddie
From the article:
... There’s been some confused notions passed around recently that lead me to think there needs to be more information about probably one of the simplest, most powerful metaprogramming techniques that exist in C++: tag dispatching. The reason tag dispatching is powerful is that it leverages the language and the compiler to do work for you so that you don’t have to. It’s a technique whereby you use overload resolution rules to decide between otherwise ambiguous functions.
Concepts and tags
The first part to understand with regard to tag dispatching is the idea of “concepts”...
Add a Comment
Comments are closed.