Boost logo

Boost Users :

Subject: Re: [Boost-users] [variant] Variant call forwarding?
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2010-02-23 12:50:08


On Tue, Feb 23, 2010 at 10:43 AM, Rutger ter Borg <rutger_at_[hidden]> wrote:
> Igor R wrote:
>
>> If both F & G have the same signature, what's the purpose of variant?
>
> To be able to choose one of them at runtime :-) ... I'm looking for
> something similar to boost::function<>, but which doesn't erase all type
> information.

Heh, again, if they have the same signature, what information would
you be losing? :)


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