Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c++.moderated    |    Moderated discussion of C++ superhackery    |    33,346 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 31,710 of 33,346    |
|    John G Harris to All    |
|    Re: outer_class type trait?    |
|    01 Dec 11 17:08:25    |
   
   2f0348ef   
   From: news0@nospam.demon.co.uk   
      
   On Wed, 30 Nov 2011 at 12:48:27, in comp.lang.c++.moderated, kispaljr   
   wrote:   
   >Is it possible to write a type trait template that can be used to get   
   >the outer class of a nested class/enum?   
   >I am thinking of something like this:   
   >   
   >struct outer { struct inner {}; };   
   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca