On C++ string can expression two case :
1. string flag; /* empty string */
1. string flag = "Other content"; /* other string */
On Java String can expression three case :
1. String flag = NULL; /* NULL */
2. String flag = ""; /* empty string */
2. String flag = "Other content"; /* other string */
On C++ can we expression the string as NULL (nullptr) ? if not use pointer .
My scene:
I got string data from mysql , mysql expression way same as Java for string , NULL/empty/other .
My data model is used for Mysql And nlohmann Json .