How to correcly check whether a pointer belongs within an allocated block?

后端 未结 0 840
孤街浪徒
孤街浪徒 2020-12-28 10:17

After reading many questions about pointer comparison, I\'ve come to realize that many of my custom allocators does a comparison that\'s unspecified behavior. An example cou

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