getopt defaultGetoptPrinter is not safe. Is there a reason for that?

rikki cattermole rikki at cattermole.co.nz
Fri Aug 17 08:55:01 UTC 2018


On 17/08/2018 8:32 PM, Markus wrote:
> On Friday, 17 August 2018 at 08:09:52 UTC, Markus wrote:
> 
>> I wonder what's the reason for that?
> 
> I wonder why it's not at least @trusted. Literally, can't I trust that 
> method/function?

It honestly looks like a simple case of nobody has yet bothered to do it.

It should be a simple case as opening a PR and chucking @safe on the 
function(s).


More information about the Digitalmars-d-learn mailing list