mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-26 05:55:51 +00:00
Robust method for extracting the underlying template type
This commit is contained in:
@@ -38,7 +38,10 @@ class SocketWrapper
|
||||
, protected SocketWrapperBasics
|
||||
{
|
||||
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
|
||||
: m_impl (&object)
|
||||
|
||||
Reference in New Issue
Block a user