This is the signature of std::align
void* align( std::size_t alignment,
std::size_t size,
void*& ptr,
std::size_t& space );
Why does it take in void*&
if it already returns adjusted pointer? Am I missing something?
Aucun commentaire:
Enregistrer un commentaire