$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [variant] Variant call forwarding?
From: Igor R (boost.lists_at_[hidden])
Date: 2010-02-23 12:59:44
> 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.
Lets assume you've got 2 different functions with the same signature:
void f1(int i, double d);
void f2(int i, double d);
What do you loose by putting them into boost::function<void(int, double)>?