Boost logo

Boost :

From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2007-06-29 14:30:59

Michael Marcin wrote:
> I need something similar to variant to optimize dynamic dispatches in my
> application much like what GIL uses. Unfortunately one of my target
> platforms does not support RTTI.

variant doesn't really optimize dispatch. It probably does a binary
search among the different possible types. Virtual functions are way
more efficient.

Boost list run by bdawes at, gregod at, cpdaniel at, john at