implicit_cast

来源:互联网 发布:小米5数据网络不稳定 编辑:程序博客网 时间:2024/06/06 01:10

template<typename To, typename From>

inline To implicit_cast(From const &f) {

  return f;

}