JLospinoso / ccc

Companion Code for C++ Crash Course
https://ccc.codes
GNU General Public License v3.0
377 stars 105 forks source link

Page 193, Placement Operators #210

Closed xiaogozaijiao closed 1 year ago

xiaogozaijiao commented 2 years ago

Where read:

void operator delete(size_t, void) void operator new[](**void**, void)

Should read:

void operator delete(**void*, void) void operator new[](size_t*, void)

JLospinoso commented 1 year ago

Thanks for the note -- I've got the correct signatures for "non-allocating placement deallocation functions."