Mixing allocators and unitialized_fill?

J

Jef Driesen

Is it allowed to allocate memory using an allocator, but construct the
objects using the std::unitialized_fill (or copy) functions?
 
M

Michiel.Salters

Jef said:
Is it allowed to allocate memory using an allocator, but construct the
objects using the std::unitialized_fill (or copy) functions?

That's in fact the intention.

HTH,
Michiel Salters
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,017
Latest member
GreenAcreCBDGummiesReview

Latest Threads

Top