BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslma::ManagedPtr_PairProxy< POINTER_TYPE, ASSOCIATED_TYPE > Struct Template Reference

#include <bslma_managedptr_pairproxy.h>

Public Attributes

POINTER_TYPE * first
 
ASSOCIATED_TYPE second
 

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 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.

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: