Boost logo

Boost Users :

Subject: Re: [Boost-users] boost any questions and praise
From: Peter Foelsche (foelsche_at_[hidden])
Date: 2010-02-08 17:01:15


"Peter Foelsche" <foelsche_at_[hidden]> wrote in message news:...

> better make the callback object passed as a reference -- and constant
> reference should also be possible

I think there is really no use case for this. One should always use
boost::variant.
In case of later-defined types (e.g. imported via some DLL) one should
always use inheritance.

Peter


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