Boost logo

Boost :

Subject: Re: [boost] Request For a feature - Templated virtual functions
From: Gokulakannan Somasundaram (gokul007_at_[hidden])
Date: 2009-02-13 05:23:58

> Hence, switch is slightly faster.

I got even better results for switch with Visual Studio, but on Linux gcc
4.3.2, i am getting almost equal values for both. But we can say for sure
that Boost Variant is not as fast as the direct function call. . That's why
i am requesting a feature to allow limited functionality of templates
inside the virtual functions.

> Why do you test two times for the variant by the way?
> There's no special reason for that. I just wanted to see, whether there
would be any difference..


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