Menu

Commit [r197]  Maximize  Restore  History

Minor changes - it's becoming clear that using directives won't work in their current implementation. For a hint why, see network/message/directives/header.hpp:55: the directives themselves are specialized on the tag which defeats the purpose. Therefore, none of the unit tests for std::wstring will compile.

The only solution I can think of is to add a function argument:

namespace bn = boost::network;
bn::message instance;
instance << bn::header("name", "value", bn::tags::default_());

but this isn't very clean.

glynos 2009-11-15

changed /branches/integration_0_4/boost/network/protocol/http/impl/parser.ipp
changed /branches/integration_0_4/boost/network/protocol/http/parser.hpp
changed /branches/integration_0_4/libs/network/test/localhost_tests.cpp
changed /branches/integration_0_4/libs/network/test/message_test.cpp
/branches/integration_0_4/boost/network/protocol/http/impl/parser.ipp Diff Switch to side-by-side view
Loading...
/branches/integration_0_4/boost/network/protocol/http/parser.hpp Diff Switch to side-by-side view
Loading...
/branches/integration_0_4/libs/network/test/localhost_tests.cpp Diff Switch to side-by-side view
Loading...
/branches/integration_0_4/libs/network/test/message_test.cpp Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.