Comparison chart of D and C++ templates

Walter Bright newshound at digitalmars.com
Fri Jan 19 17:45:18 PST 2007


John Reimer wrote:
> Under "Parameters", C++98:
> 
> template<class T>
>   class Foo
> {
>   T x;
> };
> Foo!<int> f;
> 
> Does C++ use the '!' point?  I thought that was D.  :)

LOL! That's what I get for hopping back and forth over the fence.



More information about the Digitalmars-d-announce mailing list