发布时间:2014-01-21 14:10:50
member functions and member function templates in the derived class override and/or hide member functions and member function templates with the same name, parameter-type-list (8.3.5), cv-quali?cation, and ref-quali?er (if any) in a base class......【阅读全文】
发布时间:2013-05-03 18:22:33
新版C++实现auto关键字, 其实可以在C++98基本的template、sizeof及函数类型重载结合的类型推导方法实现自己恶心的auto,下面的代码取自boost typeof的实现(http://www.boost.org/doc/libs/1_43_0/boost/typeof/msvc/typeof_impl.hpp)。在vs2005编译环境调试。点击(此处)折叠或打开.........【阅读全文】