why it said no identifier for declarator …

Jesse Phillips via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 3 17:07:32 PDT 2014


On Tuesday, 3 June 2014 at 22:10:06 UTC, bioinfornatics wrote:
> I do not see why it fail in debug output we see that tuple have 
> a
> field with given name.

Your generated output (short and formatted)

     alias TL = Tuple!(int,"x",  bool function( const ref string ),
"xStartsWith ", bool function( const ref string ), "xEndsWith ",
int,"y",  bool function( const ref string ), "yStartsWith ", bool
function( const ref string ), "yEndsWith ");

     TL.xStartsWith...

TL is a type.

     TL variable;
     variable.xStartsWith...


More information about the Digitalmars-d-learn mailing list