Is it ever safe to reinterpret_cast the address of a variable to the address of a union?

前端 未结 0 1583
广开言路
广开言路 2021-02-05 18:43

Is the following well-defined (i.e. does not reply on undefined or implementation defined behaviour)?

header.hpp:

#pragma once

union unio         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题