Boost logo

Boost Users :

Subject: Re: [Boost-users] [variant] Variant call forwarding?
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2010-02-23 12:43:24


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.

Thanks,

Rutger


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