vendredi 25 juin 2021

What does std::put_time actually do for the default locale?

Reading the cppreference.com page about std::put_time, it is not exactly clear to me what it does.

Is it guaranteed, for an ostream whose locale has been set to L, to act as though std::strftime() was called with the LC_XXX enviroment variables set to L?

If not, does it typically do that? Or am I misunderstanding?

Aucun commentaire:

Enregistrer un commentaire