동일한 개체 (동일한 주소 사용)를 다른 함수로 저장해야하므로 코드 (아래쪽)와 포인터 (TRequest 개체)에 대한 참조를 저장하는 방법은 무엇입니까?함수에서 포인터에 대한 참조
void producent(const TRequest *(* dispatcher)(void)) {
// ...
const TRequest *& tmpRequest2 = *(dispatcher()); // that is bad
// ...
}
'std :: bind'와 함께'std :: function'을 사용하지 않는 이유는 무엇입니까? –