arithmetic std::unique_ptr and void* (get position of element by address)

后端 未结 0 1865
隐瞒了意图╮
隐瞒了意图╮ 2020-12-21 00:35

I have a class:

  1. Allocate blockSize*maxSize bytes of memory. Has a method which return ptr to free block of memory.
  2. I fill this block in main()
相关标签:
回答
  • 消灭零回复
提交回复
热议问题