¡@

Home 

c++ Programming Glossary: access_as

strict aliasing and alignment

http://stackoverflow.com/questions/9964418/strict-aliasing-and-alignment

this. #include iostream template typename T typename U T access_as U p union dummy_union U dummy T destination dummy_union u dummy_union.. buf sizeof double static_assert sizeof buf sizeof test access_as double buf 42.1337 std cout access_as double buf ' n' access_as.. buf sizeof test access_as double buf 42.1337 std cout access_as double buf ' n' access_as test buf .s 42 access_as test buf..