Tuple basics
downs
default_357-line at yahoo.de
Fri Sep 12 20:28:38 PDT 2008
Sam Hu wrote:
> Hi downs,
>
> A Tuple [...] is a sequence of any mix of types, expressions or symbols.
>
> So is it a class or a type or a variable or something else?The examples in the D Spec. is used inside a template,so is it just limited to use inside the template or can use in a common function or anywhere else?
> Thanks,
> Sam
It's a tuple; i.e. neither of the above.
And now you'll ask "What is a tuple?"
And the answer is still, a sequence of types, expressions or symbols.
:p
More information about the Digitalmars-d-learn
mailing list