14 Jun
                
                    2007
                
            
            
                14 Jun
                
                '07
                
            
            
            
        
    
                1:27 a.m.
            
        Daveus, Fredrik wrote:
template<typename T> A(const T& t) : m_map(t) { }
template<typename It> A(It first, It last) : m_map(first, last) { }
I guess neither is guaranteed to work. It seems required to force copy-initialization: template< class InitList > explicit A(InitList const& l) : m_map(static_cast<map_type const&>(l)) { } Regards, -- Shunsuke Sogame