4 Sep
2011
4 Sep
'11
9:05 p.m.
on Sun Sep 04 2011, Hossein Haeri
Dear all, I am looking for problems a reasonable design for solving which requires mixing (template/preprocessor) metaprogramming and multiple inheritance, say for a single class. In particular, has any part of the Boost library been designed with this mixture? TIA,--Hossein
The classic example is the implementation of a visitor. See Alexandrescu's "Modern C++ Design" for an extensive discussion. -- Dave Abrahams BoostPro Computing http://www.boostpro.com