From: Nelson, E. - 2 <eri...@ba...> - 2010-02-18 15:47:29
|
In the course of working on something unrelated, I tried to compile this one-line file #include <boost/network/protocol/http/traits/connection_policy.hpp> And I get an error, starting off with 1>C:\work\boost\boost/network/protocol/http/policies/sync_resolver.hpp(2 5) : error C2143: syntax error : missing ';' before '<' 1> C:\work\boost\boost/network/protocol/http/policies/sync_resolver.hpp(71) : see reference to class template instantiation 'boost::network::http::policies::sync_resolver<Tag>' being compiled The offending line in sync_resolver.hpp is typedef typename string<Tag>::type string_type; Which I don't understand... the 'string' can't be a std::string, since std::string is a typedef already. I didn't see template class 'string' defined anywhere within cpp-netlib. Can anybody comment on how this works? Thanks Erik |