BDE 4.39.x Production Release
Loading...
Searching...
No Matches
bslmf::MatchAnyType Struct Reference

#include <bslmf_matchanytype.h>

Detailed Description

Any type can be converted into this type.

See bslmf_matchanytype

Public Member Functions

template<class t_TYPE >
 MatchAnyType (const t_TYPE &)
 
template<class t_TYPE >
 MatchAnyType (const volatile t_TYPE &)
 

Constructor & Destructor Documentation

◆ MatchAnyType() [1/2]

template<class t_TYPE >
bslmf::MatchAnyType::MatchAnyType ( const t_TYPE &  )
inline

◆ MatchAnyType() [2/2]

template<class t_TYPE >
bslmf::MatchAnyType::MatchAnyType ( const volatile t_TYPE &  )
inline

This constructor will match any volatile lvalue. According to the standard, it should NOT match an rvalue. A non-const version of this constructor is not necessary and will cause some compilers to complain of ambiguities.


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