Quick Links:

bal | bbl | bdl | bsl

Public Types

bslalg::HasTrait< TYPE, TRAIT > Struct Template Reference

#include <bslalg_hastrait.h>

List of all members.

Public Types

enum  { VALUE }
typedef bslmf::MetaInt< VALUE > Type

Detailed Description

template<class TYPE, class TRAIT>
struct bslalg::HasTrait< TYPE, TRAIT >

This meta-function evaluates to bslmf::MetaInt<1> if the (template parameter) TYPE has the (template parameter) TRAIT, and to bslmf::MetaInt<0> otherwise.

See Component bslalg_hastrait


Member Typedef Documentation

template<class TYPE , class TRAIT >
typedef bslmf::MetaInt<VALUE> bslalg::HasTrait< TYPE, TRAIT >::Type

Member Enumeration Documentation

template<class TYPE , class TRAIT >
anonymous enum
Enumerator:
VALUE 

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