Daniel Keep Wrote: > > > eris wrote: > > ... > > > > Is there any way to get around including the exclamation point? > > > > Thanks, > > > > eris > > No.
Succint! :-) > If you want more explanation than that: No, because if you did, the > parser wouldn't be able to tell when something is supposed to be a type > and when it's supposed to be an expression. > Okay. I just assumed that since it was aliased .. and .. I included a type that matched the template parameter it should be able to sort that out. Re-reading the syntax specs should enlighten me. > It's just *one* extra character... I know. It's not so much the one character and obviously aliases achieve much more than just compressing out a single character. In fact, there's really no hiding that it's a template. You have to include the 'int' anyhow -- either explicitly in the alias def or in the expression itself. thx
