Skip to content

Instantly share code, notes, and snippets.

View strong-nguyen's full-sized avatar
😊
Thinking about new project

strong-nguyen strong-nguyen

😊
Thinking about new project
View GitHub Profile
@strong-nguyen
strong-nguyen / bind_bindfront.md
Last active November 29, 2024 07:31
[C++ Candy] std::bind std::bind_front

std::bind

std::bind is introduced in C++11 with the following syntax:

#include <functional>
template< class F, class... Args >
/* unspecified */ bind( F&& f, Args&&... args );

It helps generate a forwarding call wrapper for f and bound some arguments to args