Boost logo

Boost :

Subject: Re: [boost] Request For a feature - Templated virtual functions
From: Niels Dekker - mail address until 2010-10-10 (niels_address_until_2010-10-10_at_[hidden])
Date: 2009-02-12 06:10:11


Mathias Gaunard wrote:
> A switch-case is actually faster than a virtual table lookup, however.

Is that independent of the number of cases?

  Thanks in advance, Niels

--
Niels Dekker
http://www.xs4all.nl/~nd/dekkerware
Scientific programmer at LKEB, Leiden University Medical Center 

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk