Is it correct that I consider std::align
as a runtime address calculation to meet the further logic of my program, i.e. if the program logic doesn't take into account any specific alignment, it doesn't make sense to use std::align
?
Does using of std::align
affect code generation? Is my understanding correct that, unlike std::assume_aligned
from C++20, std::align
is not a hint to a compiler?
Aucun commentaire:
Enregistrer un commentaire