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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Cpp-netlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel

Reply via email to