[cxx-abi-dev] Initializer Lists
    Mark Mitchell 
    mark at codesourcery.com
       
    Mon Jun  9 21:37:26 UTC 2008
    
    
  
Jason Merrill wrote:
> The initializer list proposal
> 
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2640.pdf
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2531.pdf 
> (library changes only, the core changes are superceded by N2640)
> I've been implementing this in g++, and currently have a private 
> constructor
> 
>     initializer_list(const T* _a, size_t _l)
> 
> which the compiler invokes directly by suppressing access control over 
> the call.
Sounds reasonable to me, FWIW.
-- 
Mark Mitchell
CodeSourcery
mark at codesourcery.com
(650) 331-3385 x713
    
    
More information about the cxx-abi-dev
mailing list