this() member function?

Bill Baxter dnewsgroup at billbaxter.com
Sat Feb 24 13:36:34 PST 2007


Wei Li wrote:
> Hi:
> 
> The following code is a quick and dirty variant implemention inspired by boost.variant. It works, but why is the constructor(this(T)()) cannot to be a template function?
> 
> //variant.d
> module variant;
> ...

So now we have std.boxer, and there's a port of boost::Any floating 
around.  How do all those differ from one another?

--bb



More information about the Digitalmars-d mailing list