Michel Fortin wrote:
On 2011-01-11 20:28:26 -0500, Steven Wawryk <stev...@acres.com.au> said:
Why not choose which of these abstractions is most appropriate in a given situation instead of trying to shoe-horn both concepts into a single abstraction, and provide for easy conversion between them? When character representation is the primary requirement then make it a bidirectional range of code points. When storage representation and random access is required then make it a random access range of code units.

I think you're right. The need for a new concept isn't that great, and it gets complicated really fast.

I think the only problem that we really have, is that "char[]", "dchar[]" implies that code points is always the appropriate level of abstraction.




Reply via email to