Boost::Any ported to D

Bruno Medeiros brunodomedeiros+spam at com.gmail
Mon Oct 2 13:30:58 PDT 2006


Marcin Kuszczak wrote:
> Bruno Medeiros wrote:
> 
>> Marcin Kuszczak wrote:
>>> 3. I can not compile program after putting PlaceHolder interface and
>>> Holder class into Any class (like in the original approach). Is it bug or
>>> am I doing something wrong?
>> Hum, C++ allows member(=inner) classes? Didn't know that. Are they
>> static or "instance"(meaning they require an outer class context) classes?
>> Recall that in D they are "instance" by default, and static on option
>> only.
> 
> As I know outer class works just as namespace for inner class. So I would
> say static class definitions.
> 

And when you ported to D, did you make the D inner classes static too?

-- 
Bruno Medeiros - MSc in CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D



More information about the Digitalmars-d-announce mailing list