https://bugs.kde.org/show_bug.cgi?id=371471

--- Comment #3 from Tom Hughes <t...@compton.nu> ---
Also that code doesn't even compile:

bericote [/tmp] % g++  -std=c++14 -o x x.cpp
x.cpp: In function ‘int main()’:
x.cpp:12:17: error: no matching function for call to ‘operator new(sizetype,
A*&)’
   new (obj) A(20);
                 ^
<built-in>: note: candidate: void* operator new(long unsigned int)
<built-in>: note:   candidate expects 1 argument, 2 provided

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to