Throwing specific Error Obejct for asserts
monarch_dodra
monarchdodra at gmail.com
Thu Jan 10 11:49:43 PST 2013
On Thursday, 10 January 2013 at 19:47:46 UTC, monarch_dodra wrote:
> On Thursday, 10 January 2013 at 19:31:18 UTC, Simen Kjaeraas
> wrote:
>>
>>
>> So you're saying this does compile for you, with -release?
>>
>> struct S( ) {
>> version(assert)
>> bool isValid = false;
>>
>> void foo() {
>> assert(isValid);
>> }
>> }
>>
>> It certainly does not for me.
>
> As a matter of fact, yes. Yes I am. Are you using 2.061 ?
Scratch that. Template was throwing me off.
More information about the Digitalmars-d
mailing list