
3 Dec
2019
3 Dec
'19
10:51 p.m.
2. Disallow NULL (via assert) for all conversions and require manual checking. Best usage would then probably be to ditch the temporary and do `return _wfFoo(s ? wstackstring(s).c_str() : NULL);`
or with some kind of gsl::not_null would be even better? int fFOO(gsl::not_null<const char*> s); But I do not think boost has gsl. Frédéric