Just where has this language gone wrong?

Alex Rønne Petersen alex at lycus.org
Thu Jul 19 07:33:17 PDT 2012


On 19-07-2012 16:31, Petr Janda wrote:
>> Array gets sorted, then doubles are removed (uniq) and then everything
>> is converted to a string (map).
>>
>> Everything was recently introduced around 2.059.
>
> Ok, but what is map!(). What's the point of the exclamation mark, is it
> a template specialization?

It means template instantiation. The parameter list following the 
exclamation mark are passed to the template, while the second parameter 
list contains the normal runtime arguments.

-- 
Alex Rønne Petersen
alex at lycus.org
http://lycus.org


More information about the Digitalmars-d mailing list