handful and interval

sclytrack fake at person.de
Mon Sep 3 12:47:09 PDT 2012


On Sunday, 2 September 2012 at 20:24:29 UTC, Walter Bright wrote:
> On 9/2/2012 7:45 AM, Andrei Alexandrescu wrote:
>> On 9/2/12 4:22 PM, Andrei Alexandrescu wrote:
>> [snip]
>>
>> The alternative would be to simply define these as functions:
>>
>> if (a.among("struct", "class", "union")) { ... }
>> if (b.between(1, 100)) { ... }
>
> Is between inclusive or not of the endpoints?

"between" inclusive
"in between" exclusive


More information about the Digitalmars-d mailing list