returned< T > Class Template Reference

A return type for container methods. More...

#include <returned.hpp>

List of all members.

Public Member Functions

 returned (const returned< T > &)
 Copy operator required to return a value.
 operator T () const
 Convert to the proton::object.

Detailed Description

template<class T>
class proton::returned< T >

A return type for container methods.

Thread safety** - Container method return values are thread-unsafe*. A single-threaded application can safely assign the `returned<T>` value to a plain `T`. A multithreaded application *must* ignore the returned value because it may already be invalid by the time the function returns. Multithreaded applications can safely access the value inside messaging_handler functions.


Member Function Documentation

operator T (  )  const

Convert to the proton::object.

Note:
**Thread-unsafe** - Do not use in a multithreaded application.

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

Generated on 17 Jan 2019 for Qpid Proton C++ by  doxygen 1.6.1