Boost logo

Boost :

From: Martin Bonner (martin.bonner_at_[hidden])
Date: 2006-10-27 05:03:59

----Original Message----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]] On Behalf Of gary Sent: 27
October 2006 05:26 To: boost_at_[hidden]
Subject: [boost] bug visual studio 8

> Hi
> I'm getting a compile error in Visual Studio 8 with boost 1.33.1
> It looks like the boost namespace is not being honored, as
> ATL::CString has no business here.
> I don't know how to get around it, other than rewriting this function:
> boost::split( splitVec, csText, boost::is_any_of(",") );

What is the type of splitVec and csText?

ATL:CString has business everywhere because the ATL headers have a
"using namespace ATL;" in them.

Is the problem something to do with the fact that "," is getting
implicitly converted to CString?

> see reference to class template instantiation
> 'boost::range_const_iterator<C>' being compiled
> 1> with
> 1> [
> 1> C=CString
> 1> ]
> 1>

Maybe you need to specialize boost::range_const_iterator<CString>

With luck, somebody who knows something about boost::range will be along
shortly to explain why all of the above is rubbish. I have added a
[range] token to the title to encourage that to happen.

Martin Bonner
Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB24 6WZ,
ENGLAND Tel: +44 (0)1223 203894

Boost list run by bdawes at, gregod at, cpdaniel at, john at