#include <Contains.h>
It uses ContainsDomainSingle to do the single-domain comparison, telling that struct whether the domains have unit stride or not. A general version of ContainsDomain is defined, to compare the domains in the 'Dim' dimension, and then a specialization is provided for Dim==1 that stops the metaprogram recursion.
Public Types | |
| enum | { strided = !DomainTraits<T1>::unitStride } |
| enum | { n = Dim - 1 } |
Static Public Member Functions | |
| static bool | contains (const T1 &a, const T2 &b) |
| static bool ContainsDomain< T1, T2, Dim >::contains | ( | const T1 & | a, | |
| const T2 & | b | |||
| ) | [inline, static] |
1.5.5