vendredi 26 décembre 2014

Why does libstdc++ store std::tuple elements in reverse order?

According to http://ift.tt/1eibJgB, with regards to std::tuple...



libstdc++ always places the members in reverse order, and libc++ always places the members in the order given



Assuming that's true, is there a reason (historical or otherwise) why libstdc++ uses reverse order?


Bonus: Has either implementation ever changed its std::tuple ordering for any reason?


Aucun commentaire:

Enregistrer un commentaire