15 years, 9 months ago
Highlights
Community contributions featuredAs for the first question, you can simply throw in a static assertion (either C++0x, a boost one or home-made) together with the (c++0x / boost) type_trait called is_base_o…
15 years, 9 months ago
15 years, 9 months ago
That's OK. There are two typedeffed names at two different scopes (A::MyType and B::MyType).No overriding involved. Only methods can be overridden.
15 years, 9 months ago
15 years, 10 months ago
In principle you can do so by creating a temporary in an expression that is destroyed at the end of the expression and can do something in its destructor. Whether this has any a…
15 years, 10 months ago
Latest Activity
See all in DiscussionsAs for the first question, you can simply throw in a static assertion (either C++0x, a boost one or home-made) …
15 years, 9 months ago
That's OK. There are two typedeffed names at two different scopes (A::MyType and B::MyType).No overriding involved. Only methods can be …
15 years, 9 months ago
In principle you can do so by creating a temporary in an expression that is destroyed at the end of …
15 years, 10 months ago