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

Replacing boost::bind and boost::enable_shared_form_this by std counterparts#230

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 4 commits intocpp-netlib:masterfromtorbjoernk:remove-boost-bindshrd
Apr 14, 2013
Merged
Show file tree
Hide file tree
Changes from1 commit
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
PrevPrevious commit
NextNext commit
replacing boost::enable_shared_from_this by its std counterpart
  • Loading branch information
@torbjoernk
torbjoernk committedApr 13, 2013
commit078542ebf36b97a6445573b7b877b411bd3576f4
2 changes: 1 addition & 1 deletioncontrib/http_examples/http/fileserver.cpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -101,7 +101,7 @@ struct file_cache {

};

struct connection_handler :boost::enable_shared_from_this<connection_handler> {
struct connection_handler :std::enable_shared_from_this<connection_handler> {
explicit connection_handler(file_cache& cache) : file_cache_(cache) {}

void operator()(std::string const& path,
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -13,7 +13,7 @@
#include <boost/shared_ptr.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/cstdint.hpp>
#include <boost/enable_shared_from_this.hpp>
//#include <boost/enable_shared_from_this.hpp>
#include <boost/tuple/tuple.hpp>
#include <functional>
#include <functional>
Expand DownExpand Up@@ -47,7 +47,7 @@ struct simple_async_connection_manager : connection_manager {
struct http_1_1_async_connection;

struct http_1_1_async_connection_manager : connection_manager,
enable_shared_from_this<http_1_1_async_connection_manager> {
std::enable_shared_from_this<http_1_1_async_connection_manager> {
http_1_1_async_connection_manager(bool cache_resolved,
bool follow_redirects,
optional<std::string> openssl_certificate,
Expand Down
4 changes: 2 additions & 2 deletionshttp/src/network/protocol/http/server/connection/sync.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -14,7 +14,7 @@

#include <utility>
#include <iterator>
#include <boost/enable_shared_from_this.hpp>
//#include <boost/enable_shared_from_this.hpp>
#include <network/constants.hpp>
#include <network/protocol/http/server/request_parser.hpp>
#include <network/protocol/http/request.hpp>
Expand DownExpand Up@@ -43,7 +43,7 @@ extern void parse_headers(
#endif

class sync_server_connection
: publicboost::enable_shared_from_this<sync_server_connection> {
: publicstd::enable_shared_from_this<sync_server_connection> {
public:
sync_server_connection(boost::asio::io_service& service,
std::function<void(request const&, response&)> handler)
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp