const
bool Foo(const char* str) { if ( str = nullptr ) { return false; } //Intentional reassignment }
bool Foo(char* const str) { if ( str = nullptr ) { return false; } //Intentional reassignment }
char* const str
str = nullptr
const char* str
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)