Boost logo

Boost :

From: Frédéric (ufospoke_at_[hidden])
Date: 2019-12-04 05:51:24

> 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.


Boost list run by bdawes at, gregod at, cpdaniel at, john at