Is there something similar to the copy-and-swap idiom when allocators are involved?

后端 未结 1 1462
遥遥无期
遥遥无期 2021-02-04 14:26

There were a couple of great answers about the copy-and-swap idiom, e.g., explaining the copy and swap idiom and explaining move semantics. The basic idiom working for

1条回答
提交回复
热议问题