BioC++ core-0.7.0
The Modern C++ libraries for Bioinformatics.
 
Loading...
Searching...
No Matches
transformation_trait_or.hpp File Reference

Provides bio::meta::transformation_trait_or. More...

+ Include dependency graph for transformation_trait_or.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bio
 The main BioC++ namespace.
 
namespace  bio::meta
 The Meta module's namespace.
 

Typedefs

template<typename type_t , typename default_t >
using bio::meta::transformation_trait_or = std::conditional_t< transformation_trait< type_t >, type_t, std::type_identity< default_t > >
 This gives a fallback type if type_t::type is not defined.
 
template<typename type_t , typename default_t >
using bio::meta::transformation_trait_or_t = typename transformation_trait_or< type_t, default_t >::type
 Helper type of bio::meta::transformation_trait_or (transformation_trait shortcut).
 

Detailed Description

Provides bio::meta::transformation_trait_or.

Author
Marcel Ehrhardt <marcel.ehrhardt AT fu-berlin.de>