Quick Links:

bal | bbl | bdl | bsl

Public Attributes

bslma::ManagedPtr_PairProxy< POINTER_TYPE, ASSOCIATED_TYPE > Struct Template Reference

#include <bslma_managedptr_pairproxy.h>

List of all members.

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.

See Component bslma_managedptr_pairproxy


Member Data Documentation

template<class POINTER_TYPE, class ASSOCIATED_TYPE>
POINTER_TYPE* bslma::ManagedPtr_PairProxy< POINTER_TYPE, ASSOCIATED_TYPE >::first
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: