在 C++ 中是否有 boost::mpl::if_
的替代品?
我没有机会使用 boost。
最佳答案
std::conditional
(C++11) should fit your needs.
也许您可以将其用作直接替代品。
关于c++ - 类似于 c++11 中的 boost::mpl::if_,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34246503/
在 C++ 中是否有 boost::mpl::if_
的替代品?
我没有机会使用 boost。
最佳答案
std::conditional
(C++11) should fit your needs.
也许您可以将其用作直接替代品。
关于c++ - 类似于 c++11 中的 boost::mpl::if_,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34246503/