Alex Rousskov wrote:
On Fri, 2007-08-17 at 16:54 +1200, Amos Jeffries wrote:
I'm not sure its any worse than the macro definition itself.
.h is still bad though, any Ideas?

You can replace the current comment with something like:

/// To pool Foo objects, add MEMPROXY_CLASS(Foo) to the class Foo
declaration

Anybody who needs more hints can run "grep MEMPROXY_CLASS *.h" for
numerous examples.


Hmm, good point. It is worth raising the intelligence bar on this one.

I've been thinking about that TODO also...
BUT on second thought is it more about merging the MEMPROXY_CLASS_INLINE and MEMPROXY_CLASS into one class-internal macro??

Amos

Reply via email to