Prev: Why you should never use a const& parameter to initialize a const& member variable!
Next: Layout of a most derive object of a type
From: muggar on 4 Feb 2010 04:34 Hi, how to implement compile time hook mechanism? An use case would look like: AClass<SomeType,Hooks<FunctorOne,FunctorTwo,...>> aobj; AClass::AFunction() { // ... RunHooks(); // ... } Thanks, Muggar -- [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] |