Project

General

Profile

Actions

Task #2613

closed

Eliminate unnecessary usage of shared_ptr in faces and channels

Added by Junxiao Shi over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Faces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
3.00 h

Description

In particular:

  • The boost::asio::*::acceptor instance can be a simple member field, as it's not shared with any other object.
  • Sockets can use C++11 move semantics (natively supported by boost) when ownership is transferred from the channel to the face.
Actions

Also available in: Atom PDF