codice:A a; B b; C c; std::function<int()> fa = std::bind(&A::Func,&a); std::function<int()> fb = std::bind(&B::Func,&b); std::function<int()> fc = std::bind(&C::Func,&c);
codice:A a; B b; C c; std::function<int()> fa = std::bind(&A::Func,&a); std::function<int()> fb = std::bind(&B::Func,&b); std::function<int()> fc = std::bind(&C::Func,&c);
This code and information is provided "as is" without warranty of any kind, either expressed
or implied, including but not limited to the implied warranties of merchantability and/or
fitness for a particular purpose.