XrdCl::Fwd< T > Class Template Reference
#include <XrdClFwd.hh>
List of all members.
Detailed Description
template<typename T>
class XrdCl::Fwd< T >
A helper class for forwarding arguments between operations. In practice it's a wrapper around std::shared_ptr using FwdStorage as underlying memory.
- T : type of forwarded value
Constructor & Destructor Documentation
Default constructor.
Allocates memory for the underlying value object without callying its constructor.
Member Function Documentation
Dereferencing operator. Note if Fwd has not been assigned with a value this will trigger an exception
- Returns:
- : reference to the underlying value
- Exceptions:
-
Dereferencing member operator. Note if Fwd has not been assigned with a value this will trigger an exception
- Returns:
- : pointer to the underlying value
- Exceptions:
-
template<typename T>
const Fwd& XrdCl::Fwd< T >::operator= |
( |
T && |
value |
) |
const [inline] |
Move assignment operator. Note: the object can be assigned only once. Reassignment will trigger an exception
- Parameters:
-
- Exceptions:
-
template<typename T>
const Fwd& XrdCl::Fwd< T >::operator= |
( |
const T & |
value |
) |
const [inline] |
Assignment operator. Note: the object can be assigned only once. Reassignment will trigger an exception
- Parameters:
-
- Exceptions:
-
The documentation for this class was generated from the following file: