On 2/15/2017 1:03 PM, Jack Stouffer wrote:
On Wednesday, 15 February 2017 at 20:54:02 UTC, Walter Bright wrote:
I'd like to take a step back and devise a consistent taxonomy of these things
Ok
1. auto decoding dynamic arrays
Narrow strings
2. not auto decoding arrays
Wide strings
3. static arrays
Do these need to be called anything other than "static arrays"? Also, they're
not ranges, so they're usually tested with isStaticArray
4. aggregates with an 'alias this' to a string
isConvertibleToString
5. ranges of characters
Character range
6. something convertible to a string
Same as 4
That's a good start. A test of that is to look at Phobos' actual usage of
constraints and see if they fit in.