Does C++11 standard provide something like boost::any?

前端 未结 4 1245
囚心锁ツ
囚心锁ツ 2021-01-03 23:39

for example boost::function is moved almost entirely to std::function, the same is with boost::shared_ptr

But I can\'t find

4条回答
  •  伪装坚强ぢ
    2021-01-04 00:02

    Std::any was recently accepted into the c++17 standard:

    http://en.cppreference.com/w/cpp/utility/any

提交回复
热议问题