class AA{
public:
	operator int*()	         {return NULL;}
	int* operator ()()       {	return NULL;}
	int* operator ()(int k)  {return NULL;} };
int main(){	AA a;
	int *p;
	p = a;
	p = a();
	p = a(2);
	return 0;}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-04-30
  • 2022-02-15
  • 2022-01-02
  • 2022-12-23
  • 2021-06-25
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-23
  • 2022-12-23
  • 2021-10-21
  • 2022-01-27
  • 2021-10-26
  • 2022-12-23
相关资源
相似解决方案