std::unary_function and std::binary_function were depreacated in c++11. I have two doubts.
- Does
std::unary_functionorstd::binary_functioncome into play only if function is explicitly derived from them. like this:
struct derivedsmthing: std::unary_function<smthing> ?
- if not, i.e. some functions will get impacted even if it's not explicitly derived from these two? what are those functions?
Aucun commentaire:
Enregistrer un commentaire