The introduction documents dedicate many paragraphs to explaining the difference between new()
and make()
, but in practice, you can create objects within local scope and return them.
Why would you use the pair of allocators?
See Question&Answers more detail:os