According to cppref:
The
std::placeholdersnamespace contains the placeholder objects[_1, . . ., _N]whereNis an implementation defined maximum number.
I checked libstdc++'s header file functional and found the N is 29.
Is there a standard way to check that? Say, a feature test macro?
Aucun commentaire:
Enregistrer un commentaire