return 0;我可以替换行BIND来访问智能指针的实际值: auto f_check = &A::check但是我想知道--使用智能指针的原始值可以接受吗?我可以用shared_ptr代替原始值吗?= std::bind(f_check, *block.get());
if (function_che
glutDisplayFunc使用函数指针(void (*)() )作为其参数。我试过了: //Model contains the Draw function that draws the verticesand the textures
std::function<void(void)> myfunc=std::bind(&