Re: [Boost-users] Interesting question, may be potential feature
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Ovanes Markarian Sent: Wednesday, June 28, 2006 12:39 PM To: boost-users@lists.boost.org Subject: [Boost-users] Interesting question, may be potential feature
But as some of you might have seen I have to pass to all accessors the reference or pointer to the accessed discrminated union type. So every instance requires on 32bit OS at least 4 bytes. The banal thing is that a group of accessors accesses the same type. The question/idea here would be to use or to make these objects share the reference, so that all related accessor references require 4 bytes. What do you think of this? Is it possible at all?
[Nat] Um, make accessors be methods of a small object that contains the reference? But in that case, why wouldn't the convenience methods be attached to the referenced union object itself?
participants (1)
-
Nat Goodspeed