libpsynth 0.2.1
psynth::sound::samples_are_compatible< T1, T2 > Struct Template Reference

Predicate metafunction returning whether two samples are compatibleSamples are considered compatible if their value types (ignoring constness and references) are the same. More...

#include <concept.hpp>


Detailed Description

template<typename T1, typename T2>
struct psynth::sound::samples_are_compatible< T1, T2 >

Predicate metafunction returning whether two samples are compatible

Samples are considered compatible if their value types (ignoring constness and references) are the same.

Example:

BOOST_STATIC_ASSERT((samples_are_compatible<bits8, const bits8&>::value));

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