mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Robust method for extracting the underlying template type
This commit is contained in:
@@ -38,7 +38,10 @@ class SocketWrapper
|
|||||||
, protected SocketWrapperBasics
|
, protected SocketWrapperBasics
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef typename boost::remove_reference <Object>::type ObjectType;
|
typedef typename boost::remove_pointer <
|
||||||
|
typename boost::remove_reference <
|
||||||
|
typename boost::remove_cv <Object>::type >::type >::type
|
||||||
|
ObjectType;
|
||||||
|
|
||||||
SocketWrapper (Object& object) noexcept
|
SocketWrapper (Object& object) noexcept
|
||||||
: m_impl (&object)
|
: m_impl (&object)
|
||||||
|
|||||||
Reference in New Issue
Block a user