Metaprgramming has become more and more popular and is now an essential part of modern C++ programming. By utilizing type information, it is possible implement generic programming and perform some compile time optimizations and checks. In this article, I use template metaprogramming to perform type extraction on a function and show an application of this technique. To demonstrate one of the possible practical applications, I've created an open-source app that functions like a basic command int... Read full story on Dr.Dobb's

Post a comment to the original version of this story on Dr.Dobb's