this() member function?
Marcin Kuszczak
aarti at interia.pl
Sat Feb 24 13:33:46 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?
>
Very nice!
You just did not mentioned that your implementation is about 80 times more
compact than Boost version :-) I had same experience when porting from
boost...
--
Regards
Marcin Kuszczak (Aarti_pl)
-------------------------------------
Ask me why I believe in Jesus - http://zapytaj.dlajezusa.pl (en/pl)
Doost (port of few Boost libraries) - http://www.dsource.org/projects/doost/
-------------------------------------
More information about the Digitalmars-d
mailing list