SeeWebsiteForEmail at erdani.org
Thu Sep 17 21:56:51 UTC 2020
On 9/17/20 5:39 PM, Steven Schveighoffer wrote:
> As I said in my talk last year -- D's introspection and code generation
> capabilities are the crown jewel of D. We should do everything possible
> to improve the situation for those types of tasks.
Word. Actually I've had quite a bit of success with this:
private mixin template ImplementEmpty(alias member)
static if (isInfinite!(typeof(member)))
// Propagate infinite-ness.
enum bool empty = false;
@property bool empty()
PR coming soon.
More information about the Digitalmars-d