June 01, 2014 text() vs. format() for formatting assert/exception messages | ||||
---|---|---|---|---|
| ||||
Hello all, What's the current state of preference (if any) for using std.conv.text vs. std.string.format (or others?) when formatting error messages for assert/enforce/exceptions? I seem to recall a deprecation message pushing the use of std.string.format at some point in the past, but text() now seems to pass without comment. Thanks & best wishes, -- Joe |
Copyright © 1999-2021 by the D Language Foundation