Are there some circumstances that boost::function could not be replaced by std::function?
It would be better if you could give some simple examples.
From theboostcpplibraries.com:
If you work in a development environment supporting C++11, you have access to the class
std::functionfrom the header file<functional>. In this case you can ignore Boost.Function becauseboost::functionandstd::functionare equivalent.
But it might depends of version of boost, see history.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With