Realloc- in Standard allocator

后端 未结 3 1938
旧时难觅i
旧时难觅i 2021-02-02 16:41

For the Standard allocator interface for use in, say, std::vector, is re-allocation supported? I have a rather specific use-case in which being able to reallo

3条回答
  •  旧时难觅i
    2021-02-02 16:53

    We tried but failed:

    http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1953.html

    http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2045.html

    Edit: I know what you meant. ;-)

提交回复
热议问题