Static Public Attributes

mask::ArrayMask< N, K, I > Struct Template Reference

Exo 5 ArrayMask. More...

#include <array_mask.hh>

List of all members.

Static Public Attributes

static const unsigned int val = I < Binomial<N,K>::val ? Next<ArrayMask<N,K,I-1>::val>::val : 0

Detailed Description

template<unsigned int N, unsigned int K, unsigned int I>
struct mask::ArrayMask< N, K, I >

Exo 5 ArrayMask.

On applique ArrayMask[I] = Next(ArrayMask[I-1])

Template Parameters:
N la taille du masque
K le nombre de bits à 1
I l'indice du masque val calculé

Definition at line 24 of file array_mask.hh.


Member Data Documentation

template<unsigned int N, unsigned int K, unsigned int I>
const unsigned int mask::ArrayMask< N, K, I >::val = I < Binomial<N,K>::val ? Next<ArrayMask<N,K,I-1>::val>::val : 0 [static]

Definition at line 14 of file array_mask.hh.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends