From: Glyn M. <gly...@gm...> - 2008-10-12 11:22:25
|
Hi Kim, 2008/10/10 Glyn Matthews <gly...@gm...> > Hi Kim, > > 2008/10/10 Kim Gräsman <kim...@gm...> > >> >> I created a branch succinctly called 'uri', on >> https://cpp-netlib.svn.sourceforge.net/svnroot/cpp-netlib/branches/uri >> >> I've committed the first fumbling parts there, in >> /boost/network/uri.hpp and /libs/network/test/uri_test.hpp. >> >> At least it's a start, not sure where to go from there... >> > > Thanks. I'll take a look when I have time over the weekend. > I've taken a look, and the tests seem OK. It didn't compile on GCC because you'd left all the typenames in, but I did a bit of refactoring to fix this. I made it a template (basic_url) and provided a default typedef. This is similar to the way we're using basic_message, so it's more consistent. I think for basic_message and basic_url, it would eventually be necessary to refactor the traits because they will have a lot in common. I've added a single unit test case which will test the syntax we discussed. The next stage will be to develop the directives to make this work. HTH, Glyn |