文件名称:MyMembFunc
介绍说明--下载内容均来自于网络,请自行研究使用
在《C++ Templates: The Complete Guide》一书中(以下简称书),提出了模板元编程最早的实际应用之一:在数值运算中进行解循环优化。
而本文的标题是噱头!本文的真正目的是指出这种优化措施在增加复杂性的同时,并不一定能明显改善效率。应当谨慎使用该技术——默认不使用该技术,在点积计算确实是效率瓶颈时考虑采用该技术,并认真测试该技术是否真能提高效率。
-In C++ Templates: The Complete Guide , a book (hereinafter referred to the book), put forward a template meta-programming, one of the earliest practical applications: in the numerical computation in the cycle optimization solutions. The title of this article is a gimmick! The real purpose of this paper is that such optimization measures at the same time increase the complexity, not necessarily improved efficiency. Should be careful to use the technology- the default does not use the technology, in point of the plot is calculated to take into account the efficiency of the bottleneck using the technology, and seriously test whether the technology can really improve efficiency.
而本文的标题是噱头!本文的真正目的是指出这种优化措施在增加复杂性的同时,并不一定能明显改善效率。应当谨慎使用该技术——默认不使用该技术,在点积计算确实是效率瓶颈时考虑采用该技术,并认真测试该技术是否真能提高效率。
-In C++ Templates: The Complete Guide , a book (hereinafter referred to the book), put forward a template meta-programming, one of the earliest practical applications: in the numerical computation in the cycle optimization solutions. The title of this article is a gimmick! The real purpose of this paper is that such optimization measures at the same time increase the complexity, not necessarily improved efficiency. Should be careful to use the technology- the default does not use the technology, in point of the plot is calculated to take into account the efficiency of the bottleneck using the technology, and seriously test whether the technology can really improve efficiency.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MembFunc.cpp
MembFunc.dsp
MembFunc.dsw
MembFunc.sln
MembFunc.vcproj
StdAfx.cpp
StdAfx.h
MembFunc.dsp
MembFunc.dsw
MembFunc.sln
MembFunc.vcproj
StdAfx.cpp
StdAfx.h