std::function은 동적 다형성 기반으로 설계한 함수이다
virtual 사용 유사
씹어먹는 C ++ -
이번 강좌에서는 에 대해 다룹니다. 안녕하세요 여러분! 지난 강좌에서 배우신 스마트 포인터 삼형제 ( unique_ptr, shared_ptr, weak_ptr) 들은 어떠셨나요? 스마트 포인터를 도입함으로써 C++ 에서 메모리 제어를 훨씬 더 쉽게 수행할 수 있습니다. 이번 강좌에서는 C++ 에서 호출 가능한 모든 것을 포괄해서 나타내는 Callable 에 대해서 알아보도록 하겠습니다.
https://modoocode.com/254

pass argument c++ by wrapper Variadic template structure
C++ variadic template with non-type parameters of different types
Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question. Provide details and share your research! Asking for help, clarification, or responding to other answers. Making statements based on opinion; back them up with references or personal experience. To learn more, see our tips on writing great answers.
https://stackoverflow.com/questions/22674347/c-variadic-template-with-non-type-parameters-of-different-types/22675220

Seonglae Cho