|
17 | 17 |
|
18 | 18 | namespaceboost {namespacenetwork {namespaceimpl { |
19 | 19 |
|
| 20 | +// Moving implementation from original |
| 21 | +// message_traits implementation by |
| 22 | +// Atomic Labs, Inc. |
| 23 | +// -- |
| 24 | +// returns true if str1 < str2 (ignoring case) |
| 25 | +structis_less_ignore_case_impl { |
| 26 | +inlinebooloperator() ( |
| 27 | + string<http::tags::http_default_8bit_tcp_resolve>::typeconst & str1, |
| 28 | + string<http::tags::http_default_8bit_tcp_resolve>::typeconst & str2)const { |
| 29 | +returnto_lower_copy(str1) <to_lower_copy(str2); |
| 30 | + }; |
| 31 | + }; |
| 32 | + |
20 | 33 | template<classTag> |
21 | 34 | structheaders_container_impl<Tag,typename enable_if<typename Tag::is_client>::type> { |
22 | | -// Moving implementation from original |
23 | | -// message_traits implementation by |
24 | | -// Atomic Labs, Inc. |
25 | | -// -- |
26 | | -// returns true if str1 < str2 (ignoring case) |
27 | | -structis_less_ignore_case { |
28 | | -inlinebooloperator() ( |
29 | | - string<http::tags::http_default_8bit_tcp_resolve>::typeconst & str1, |
30 | | - string<http::tags::http_default_8bit_tcp_resolve>::typeconst & str2)const { |
31 | | -returnto_lower_copy(str1) <to_lower_copy(str2); |
32 | | - }; |
33 | | - }; |
| 35 | + |
| 36 | +typedef is_less_ignore_case_impl is_less_ignore_case; |
34 | 37 |
|
35 | 38 | typedef std::multimap< |
36 | 39 | string<http::tags::http_default_8bit_tcp_resolve>::type, |
|