1. 首页
  2. 移动开发
  3. 其他
  4. Advanced Metaprogramming in Classic C++

Advanced Metaprogramming in Classic C++

上传者: 2020-09-20 05:22:00上传 PDF文件 3.08MB 热度 16次
The classic C++ language admits two basic types of templates—function templates and class templates2: Here is a function template: template scalar_t sq(const scalar_t& x) { return x*x; } Here is a class template: template < typename scalar_t, // type parameter bool EXTRA_PRECISIO
下载地址
用户评论