Reflection

James Miller james at aatch.net
Mon Feb 27 23:21:38 PST 2012


On 28 February 2012 19:27, Joshua Niehus <jm.niehus at gmail.com> wrote:
> On Tuesday, 28 February 2012 at 06:10:11 UTC, Jesse Phillips wrote:
>>
>> It is a template.
>
>
> I see, thanks.
> And I bet its not possible to figure out if a template is a "function
> template" or a "class template" etc...
>

Not really, there might be, but not an obvious one. Its because
templates can hold multiple types of declarations, not just functions
or classes. The "eponymous template" pattern you see normally is not
mandatory.

--
James Miller


More information about the Digitalmars-d-learn mailing list