xdrpp
RFC4506 XDR compiler and message library
Public Member Functions | List of all members
xdr::transparent_ptr< T > Struct Template Reference

A pointer, but that gets marshalled as the underlying object and can convert to the underlying type. More...

#include <server.h>

Inheritance diagram for xdr::transparent_ptr< T >:
Inheritance graph
[legend]
Collaboration diagram for xdr::transparent_ptr< T >:
Collaboration graph
[legend]

Public Member Functions

 operator T& () const
 
 operator T&& ()
 

Detailed Description

template<typename T>
struct xdr::transparent_ptr< T >

A pointer, but that gets marshalled as the underlying object and can convert to the underlying type.

If p is a transparent_ptr<T>, then std::move(p) can be passed as a std::unique_ptr<T>, a T, or a const T&. This is what allows some flexibility in the signatures of server object methods.

Definition at line 63 of file server.h.


The documentation for this struct was generated from the following file: