stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lemings" <Eric.Lemi...@roguewave.com>
Subject Empty member initializers
Date Tue, 10 Jun 2008 22:45:44 GMT
 
>From $TOPDIR/include/rw/_pair.h:
 
     64     // 20.2.2, p2
     65     pair ()
     66 #ifndef _RWSTD_NO_EMPTY_MEM_INITIALIZER
     67         : first (/* lwg issue 265 */), second () { }
     68 #else
     69         // assumes types satisfy the CopyConstructible
requirements
     70         : first (first_type ()), second (second_type ()) { }
     71 #endif   // _RWSTD_NO_EMPTY_MEM_INITIALIZER

Are empty member initializers something we still need to concern
ourselves with?  Is LWG issue 265 still pertinent?
 
Thanks,
Brad.

Mime
View raw message