Boost logo

Boost Users :

From: LionAM (alemue7_at_[hidden])
Date: 2006-09-06 11:08:22


> Hello Alex, you might try using the precompiled headers option and
> adding #include <boost\ptr_container\ptr_vector.hpp> to the
> precomp header (usually "stdafx.h" for MFC projects). This usually speeds

Thank you for your answer!

When I insert #include <boost\ptr_container\ptr_vector.hpp> in
stdafx.h, I get the error message

(...)\vc98\include\utility(21) : fatal error C1001: internal compiler error

which leads to
template<class _T1, class _T2> struct pair {
        typedef _T1 first_type;
        typedef _T2 second_type;
        pair()
                : first(_T1()), second(_T2()) {}
>>> pair(const _T1& _V1, const _T2& _V2)
                : first(_V1), second(_V2) {}
        template<class U, class V> pair(const pair<U, V> &p)
                : first(p.first), second(p.second) {}
        _T1 first;
        _T2 second;
        };

With ptr_list.hpp, the same error in file (...)\vc98\include\xstring(133)
occurs. What can this be?

Alex

-- 
View this message in context: http://www.nabble.com/ptr_container-compiles-slow-tf2225929.html#a6173398
Sent from the Boost - Users forum at Nabble.com.

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