git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56733
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
T* sourceptr = source;
for ( size_t i = count; i > 0; --i, ++destptr, ++sourceptr )
{
T* sourceptr = source;
for ( size_t i = count; i > 0; --i, ++destptr, ++sourceptr )
{
- new(destptr) T(*sourceptr);
+ ::new(destptr) T(*sourceptr);
T* sourceptr = source + count - 1;
for ( size_t i = count; i > 0; --i, --destptr, --sourceptr )
{
T* sourceptr = source + count - 1;
for ( size_t i = count; i > 0; --i, --destptr, --sourceptr )
{
- new(destptr) T(*sourceptr);
+ ::new(destptr) T(*sourceptr);
// use placement new to initialize new object in preallocated place in
// m_values and store 'v' in it:
// use placement new to initialize new object in preallocated place in
// m_values and store 'v' in it:
- new(place) value_type(v);
+ ::new(place) value_type(v);
// now that we did successfully add the new element, increment the size
// and disable moving the items back
// now that we did successfully add the new element, increment the size
// and disable moving the items back