Quote Originally Posted by Elysia View Post
So far, here's what I have:
Code:
ppnew<int>* pTest2 = new ppnew<int>; // Does not work - can't call private operator
What about:

Code:
ppnew<int>* pTest1 = new(std::nothrow) ppnew<int>; 
ppnew<int>* pTest2 = new ppnew<int>[10];
char pTest3a[sizeof(ppnew<int>)];
ppnew<int>* pTest3b = new(pTest3a) ppnew<int>();
And other cases.

If you're going to hide new, you need to hide all its forms.