websocket stream uses shared_ptr<impl_type>

This commit is contained in:
Vinnie Falco
2019-01-21 08:44:14 -08:00
parent 944b5dcda7
commit 9a8e22950f
31 changed files with 2243 additions and 2130 deletions
+4 -4
View File
@@ -124,16 +124,16 @@ public:
BOOST_STATIC_ASSERT(std::is_constructible<
stream<test::stream&>, test::stream&>::value);
// VFALCO Should these be allowed for NextLayer references?
BOOST_STATIC_ASSERT(std::is_move_constructible<
stream<test::stream&>>::value);
BOOST_STATIC_ASSERT(! std::is_move_assignable<
BOOST_STATIC_ASSERT(std::is_move_assignable<
stream<test::stream&>>::value);
log << "sizeof(websocket::stream_base<true>) == " <<
sizeof(websocket::detail::stream_base<true>) << std::endl;
log << "sizeof(websocket::stream) == " <<
sizeof(websocket::stream<test::stream&>) << std::endl;
log << "sizeof(websocket::stream::impl_type) == " <<
sizeof(websocket::stream<test::stream&>::impl_type) << std::endl;
testOptions();
}