Point before the template

cmplx magiisto at mail.ru
Tue Jul 16 15:24:44 PDT 2013


On Tuesday, 16 July 2013 at 22:17:58 UTC, Adam D. Ruppe wrote:
> On Tuesday, 16 July 2013 at 22:12:36 UTC, cmplx wrote:
>
>> Compile error:
>> Error: undefined identifier 'a'
>
> Are you sure the int a = 10; was copied outside the function 
> too?

yes, you are right, 'a' has been initialised in the 'main' and 
therefore was a mistake
thank you


More information about the Digitalmars-d mailing list