摘要:
模版特化:任何针对模版参数进一步进行条件限制设计的特化版本。 >完全特化:针对所有的模版参数进行特化。 >举例如下: template class Template{}; 全特化:template class Template{};偏特化:template class Template{};注意:函数模版不存在偏特化,只有类模版才能偏特化#include using namespace std;templateclass Test{public: Test( T i, N j ) : a(i), b(j) { coutclass Test{public: Tes... 阅读全文
摘要:
AlphaBlend 函数功能:该函数用来显示透明或半透明像素的位图。 函数原型:BOOL AlphaBlend( HDC hdcDest, // handle to destination DC int nXOriginDest, // x-coord of upper-left corner int nYOriginDest, // y-coord of upper-left corner int nWidthDest, // destination width int nHe... 阅读全文