rwlogo
SourcePro C++ 12.5

SourcePro® C++ API Reference Guide

Product Documentation:

   SourcePro C++
Documentation Home

 All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Functions
rwtMakeThreadIOU Macros and Functions

Module Description

Header File

#include <rw/thread/rwtMakeThreadIOU.h>

Helper function for creating thread-safe escrow implementations. The result of the function can be used to initialize an RWTIOUResult<Redeemable> or an RWTIOUEscrow<Redeemable>.

Example

// is equivalent to:
See Also
RWTEscrowImp<Redeemable>, RWTEscrowHandle<Redeemable>, RWTIOUResult<Redeemable>, RWTIOUEscrow<Redeemable>

Functions

template<class Redeemable >
RWTEscrowHandle< Redeemable > rwtMakeThreadIOU (const Redeemable *r)
 

Function Documentation

template<class Redeemable >
RWTEscrowHandle<Redeemable> rwtMakeThreadIOU ( const Redeemable *  r)
inline
Deprecated:
Use RWTThreadEscrowImp<Redeemable>::make() instead.

Creates an RWTEscrowHandle<Redeemable>. A pointer to the redeemable type is passed in order for the template function to ascertain the Redeemable template argument type. This allows the function to create a threaded escrow implementation of the proper type.


© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.