text based file formats
Walter Bright
newshound2 at digitalmars.com
Thu Dec 22 03:58:28 UTC 2022
On 12/20/2022 1:51 PM, Adrian Matoga wrote:
> I frequently find it useful for a text data file parser to call a diagnostic
> callback instead of assuming some default behavior (whether that's forgiving,
> printing warnings, throwing or something else). With template callback
> parameters the parser can throw if the user wants it or stay pure nothrow if no
> action is required.
Yes, sometimes I think this might be the right answer.
More information about the Digitalmars-d-announce
mailing list