Function objects are passed by reference to const; function pointers are passed by value.

 
  • 函数对象以常量引用的方式传递;函数指针则以值的方式传递。
今日热词
目录 附录 查词历史