Boost logo

Boost Users :

Subject: Re: [Boost-users] serialize a template class working with MSVC2005 but not gcc
From: Lars Viklund (zao_at_[hidden])
Date: 2008-10-17 10:14:23


On Thu, Oct 16, 2008 at 11:33:33PM -0700, professor rumsdiegeige wrote:
> boost::ptr_vector< T >::iterator it = e_.begin();

As you're dealing with dependant types, you need to use:
typename boost::ptr_vector< T >::iterator

-- 
Lars Viklund | zao_at_[hidden] | 070-310 47 07

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net