文件名称:MembFunc
介绍说明--下载内容均来自于网络,请自行研究使用
在C++中,成员函数的指针是个比较特殊的东西。对普通的函数指针来说,可以视为一个地址,在需要的时候可以任意转换并直接调用。但对成员函数来说,常规类型转换是通不过编译的,调用的时候也必须采用特殊的语法。C++专门为成员指针准备了三个运算符: "::*"用于指针的声明,而"->*"和".*"用来调用指针指向的函数。-In the C++, The member function pointer is a rather special things. Of the ordinary function pointer, it can be regarded as an address, when needed can be converted directly call. However, member functions, the conventional type of conversion is not pass the compiler, the call must be used when special grammar. C++ Pointer prepare specifically for the members of the three operators:
(系统自动生成,下载前可以参看下载内容)
下载文件列表
MembFunc
........\MembFunc.cpp
........\MembFunc.dsp
........\MembFunc.dsw
........\MembFunc.sln
........\MembFunc.vcproj
........\StdAfx.cpp
........\StdAfx.h
........\MembFunc.cpp
........\MembFunc.dsp
........\MembFunc.dsw
........\MembFunc.sln
........\MembFunc.vcproj
........\StdAfx.cpp
........\StdAfx.h