BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bslma::ManagedPtr_PairProxy< POINTER_TYPE, ASSOCIATED_TYPE > Struct Template Reference

#include <bslma_managedptr_pairproxy.h>

Detailed Description

template<class POINTER_TYPE, class ASSOCIATED_TYPE>
struct bslma::ManagedPtr_PairProxy< POINTER_TYPE, ASSOCIATED_TYPE >

This class is a simple aggregate that may be used to construct a bsl::pair object. It will be a POD if the (template parameter) ASSOCIATED_TYPE is a POD.

Note
Note that the names of the data members must exactly match those of bsl::pair to support users simply acting on the result of a function call from which a pair proxy is returned, and not assigning that result to a bsl::pair first.

See bslma_managedptr_pairproxy

Public Attributes

POINTER_TYPE * first
 
ASSOCIATED_TYPE second
 

Member Data Documentation

◆ first

template<class POINTER_TYPE , class ASSOCIATED_TYPE >
POINTER_TYPE* bslma::ManagedPtr_PairProxy< POINTER_TYPE, ASSOCIATED_TYPE >::first

◆ second

template<class POINTER_TYPE , class ASSOCIATED_TYPE >
ASSOCIATED_TYPE bslma::ManagedPtr_PairProxy< POINTER_TYPE, ASSOCIATED_TYPE >::second

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