color lib

Ilya Yaroshenko via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 6 23:47:46 PDT 2016


On Friday, 7 October 2016 at 01:42:08 UTC, Manu wrote:
> On 7 October 2016 at 03:03, Ilya Yaroshenko via Digitalmars-d 
> <digitalmars-d at puremagic.com> wrote:
>> On Thursday, 6 October 2016 at 14:53:52 UTC, Manu wrote:
>>> [...]
>>
>>
>> Could you please make `colorFromString` nothrow @nogc? Or make 
>> `nothrow @nogc` analog. -- Ilya
>
> I think throwing is the precedented action in that failure 
> case...
> what would you suggest?
> I could have an overload that returns an error or something...?
>
> I wonder how the work towards throwing RC things is going?

No idea. The reason to do not throw Exceptions is to be able to 
use Phobos in betterC mode without DRuntime at all.


More information about the Digitalmars-d mailing list