copy_trait< TraitCheckMF, TraitAddMf, OrigT, DestT > Struct Template Reference

Metafunction that given a metafunction TraitCheckMf to check whether a type has a trait, and another TraitAddMf to add it to a type, returns TraitAddMf<DestT> if TraitCheckMf<OrigT>, else OrigT. More...

#include <atria/meta/copy_traits.hpp>

Detailed Description

template<template< typename > class TraitCheckMF, template< typename > class TraitAddMf, typename OrigT, typename DestT>
struct atria::meta::copy_trait< TraitCheckMF, TraitAddMf, OrigT, DestT >

Metafunction that given a metafunction TraitCheckMf to check whether a type has a trait, and another TraitAddMf to add it to a type, returns TraitAddMf<DestT> if TraitCheckMf<OrigT>, else OrigT.

Definition at line 45 of file copy_traits.hpp.


The documentation for this struct was generated from the following file:
Fork me on GitHub