관리 메뉴

KorSA

c++ std::function 과 std::bind, C2893 Error 본문

Development Experience/C, C++

c++ std::function 과 std::bind, C2893 Error

Praiv. 2020. 12. 15. 21:03
320x100

c++ std::function<> 변수를 선언할 때 std::bind() 를 사용한다. 

이 때 함수의 파라미터로 전달할 인자들을 bind 함수내에 같이 명시해줘야 C2893 에러가 발생하지 않는다.

728x90
728x90
Comments