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

Use std::array::const_iterator instead of raw char pointer.#652

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
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
Use std::array::const_iterator instead of raw char pointer.
  • Loading branch information
@glynos
glynos committedMay 13, 2016
commit464249c8de020aa23b6228e93b8905340300f3b8
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,11 +9,13 @@
// http://www.boost.org/LICENSE_1_0.txt)

#include<functional>
#include<array>
#include<boost/network/protocol/http/client/connection/connection_delegate_factory.hpp>
#include<boost/network/protocol/http/response.hpp>
#include<boost/network/protocol/http/traits/delegate_factory.hpp>
#include<boost/network/protocol/http/client/connection/async_normal.hpp>
#include<boost/network/protocol/http/traits/resolver_policy.hpp>
#include<boost/network/traits/string.hpp>

namespaceboost {
namespacenetwork {
Expand All@@ -29,7 +31,8 @@ struct async_connection_base {
typedeftypename string<Tag>::type string_type;
typedef basic_request<Tag> request;
typedef basic_response<Tag> response;
typedef iterator_range<charconst *> char_const_range;
typedeftypename std::array<typename char_<Tag>::type,1024>::const_iterator const_iterator;
typedef iterator_range<const_iterator> char_const_range;
typedef std::function<void(char_const_rangeconst &, std::error_codeconst &)>
body_callback_function_type;
typedef std::function<bool(string_type &)> body_generator_function_type;
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp