Boost logo

Boost Users :

From: Zeljko Vrba (zvrba_at_[hidden])
Date: 2007-07-05 09:17:55


I want to define custom new and delete operators for tuples. The usual
way to do it would be, I presume, to derive from a base class and define
these operators in the derived class.

However, doing this for tuples would require me to provide all possible
templated derivations for up to 10 arguments, including constructors.
(And then maybe even defining new make_tuple functions). Is there a
better way to accomplish this task?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net