File tree 1 file changed +15
-12
lines changed
boost/network/protocol/http/traits/impl
1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change 17
17
18
18
namespace boost { namespace network { namespace impl {
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
+ struct is_less_ignore_case_impl {
26
+ inline bool operator () (
27
+ string<http::tags::http_default_8bit_tcp_resolve>::type const & str1,
28
+ string<http::tags::http_default_8bit_tcp_resolve>::type const & str2) const {
29
+ return to_lower_copy (str1) < to_lower_copy (str2);
30
+ };
31
+ };
32
+
20
33
template <class Tag >
21
34
struct headers_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
- struct is_less_ignore_case {
28
- inline bool operator () (
29
- string<http::tags::http_default_8bit_tcp_resolve>::type const & str1,
30
- string<http::tags::http_default_8bit_tcp_resolve>::type const & str2) const {
31
- return to_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,
You can’t perform that action at this time.
0 commit comments