On 07/14/2017 04:29 PM, Jonathan M Davis via Digitalmars-d wrote:
I'd guess that you'd use staticIndexOf an check for -1 to implement it
Given that constraints are user-facing, having a forwarding one-liner may be justifiable. -- Andrei
Andrei Alexandrescu via Digitalmars-d Fri, 14 Jul 2017 13:51:12 -0700
On 07/14/2017 04:29 PM, Jonathan M Davis via Digitalmars-d wrote:
I'd guess that you'd use staticIndexOf an check for -1 to implement it
Given that constraints are user-facing, having a forwarding one-liner may be justifiable. -- Andrei