www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Another 'what is the difference between'

reply Funog <funog ifrance.com> writes:
Already asked this in digitalmars.D.learn, but ...


What is the difference between:

void bar(const scope someStruct foo)

and

void bar(final const scope someStruct foo)
( = void bar(in someStruct foo) )

?
Sep 08 2007
parent Patrick Kreft <patrick_kreft gmx.net> writes:
Funog schrieb:
 Already asked this in digitalmars.D.learn, but ...
 
 
Hmm ich can not compile such expression xD
 What is the difference between:
 
 void bar(const scope someStruct foo)
 
 and
 
 void bar(final const scope someStruct foo)
 ( = void bar(in someStruct foo) )
 
 ?
 
Sep 08 2007