This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] uninitialized_* clean up


Hi,

a small clean-up figured out while working on various other issues: move
the recently added _Temp_buf helper with the latter; simplify
uninitialized_copy_n, consistently with all the other uninitialized_*,
to use _Construct (which perfectly forward in C++0x mode); change
_Construct to variadic consistently with allocator::construct (thus will
also work for default construction)

Tested x86-64-linux without PCHs, committed to mainline.

Paolo.

//////////////////////

Attachment: CL_uninitialized_cu
Description: Text document

Attachment: patch_uninitialized_cu
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]