Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Closes #399: Fix compiler error on VS2010.#400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
deanberris merged 1 commit intocpp-netlib:0.11-develfromVirtual-X:0.11-devel
May 22, 2014
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Closes#399: Fix compiler error on VS2010.
  • Loading branch information
@Virtual-X
Virtual-X committedMay 21, 2014
commitf69310413eda5c6cbaedbbba7847bf20d4bc7985
27 changes: 15 additions & 12 deletionsboost/network/protocol/http/traits/impl/headers_container.ipp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -17,20 +17,23 @@

namespace boost { namespace network { namespace impl {

// Moving implementation from original
// message_traits implementation by
// Atomic Labs, Inc.
// --
// returns true if str1 < str2 (ignoring case)
struct is_less_ignore_case_impl {
inline bool operator() (
string<http::tags::http_default_8bit_tcp_resolve>::type const & str1,
string<http::tags::http_default_8bit_tcp_resolve>::type const & str2) const {
return to_lower_copy(str1) < to_lower_copy(str2);
};
};

template <class Tag>
struct headers_container_impl<Tag, typename enable_if<typename Tag::is_client>::type> {
// Moving implementation from original
// message_traits implementation by
// Atomic Labs, Inc.
// --
// returns true if str1 < str2 (ignoring case)
struct is_less_ignore_case {
inline bool operator() (
string<http::tags::http_default_8bit_tcp_resolve>::type const & str1,
string<http::tags::http_default_8bit_tcp_resolve>::type const & str2) const {
return to_lower_copy(str1) < to_lower_copy(str2);
};
};

typedef is_less_ignore_case_impl is_less_ignore_case;

typedef std::multimap<
string<http::tags::http_default_8bit_tcp_resolve>::type,
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp