not from my prof but from cppreference.org<code>double* p = new double[]{1, 2, 3}; // creates an array of type double[3]<br>auto p = new auto('c'); // creates a single object of type char. p is a char*<br><br>auto q = new std::integral auto(1); // OK: q is an int*<br>auto q = new std::floating_point auto(true) // ERROR: type constraint not satisfied<br></code>
what the fu-
why does it allow this.