How to make a null String pointer


#1

i ended up with this. surely you jest?

String::CharPointerType myStringPointer((String::CharPointerType::CharType const*)0);


#2

Surely 

String::CharPointerType myString (nullptr);

would work?


#3

 

thanks. i was doing this;

 

String::CharPointerType myString  = nullptr;

 

which didnt work.