On Friday, 2 August 2013 at 13:57:08 UTC, Dicebot wrote:
On Friday, 2 August 2013 at 13:37:09 UTC, JS wrote:
Then that doesn't help. Do you mean A.B is not visible outside
the module either? Can B be instantiated and inherited when
static, if not then it is no use.
Yes, A will act simply as a "namespace". If B is public, it can
be accessed and instantiated from other modules. All static
does here is removing hidden context pointer.
Sorry to hijack the question, but this is relevant to the OP. I
can't remember; are class member public or private by default?