Is cast from pointer to one aligned struct to another with same “prefix” members legal?

后端 未结 0 1792
我寻月下人不归
我寻月下人不归 2021-01-16 13:45

I tried to create a smart pointer that has only one pointer to a block of memory, which starts with a reference counter (control block), and a value stored immediately after

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