Update #1 on new std.uni
Dmitry Olshansky
dmitry.olsh at gmail.com
Tue Jan 22 12:20:19 PST 2013
17-Jan-2013 22:48, H. S. Teoh пишет:
> On Wed, Jan 16, 2013 at 02:48:30PM +0400, Dmitry Olshansky wrote:
>> 11-Jan-2013 23:31, Dmitry Olshansky пишет:
>>>
>>> The code, including extra tests and a benchmark is here:
>>> https://github.com/blackwhale/gsoc-bench-2012
>>>
>>> And documentation:
>>> http://blackwhale.github.com/phobos/uni.html
[snip]
>>
>> - Why are the isX() functions @system? I would have expected they should
>> be at least @trusted? (Or are there technical problems / compiler bugs
>> preventing this?)
>>
>
> M-hm I'm seeing this in my sources:
> bool isAlpha(dchar c) @safe pure nothrow
> {...}
>
> The DDoc however shows @system.
>
> A compiler bug?
It's indeed a bug in the compiler, looks funny:
http://d.puremagic.com/issues/show_bug.cgi?id=9371
Makes me think that the compiler treats @safe after
the function prototype differently then the one placed before it.
The trailing- at safe camp must be jealous.
>> That's all for now. I hope you don't mind me allowing the grammar nazi
>> to take over for a bit. I want Phobos documentation to be professional
>> quality. :)
>>
All of these were incorporated, thanks.
Among other new stuff I've added some cross-links throughout.
Now on to the normalization forms description, etc.
--
Dmitry Olshansky
More information about the Digitalmars-d
mailing list