48 #ifndef LIB_META_CONFIGFLAGS_H 49 #define LIB_META_CONFIGFLAGS_H 58 const size_t CONFIG_FLAGS_MAX = 5;
98 template<u
int Fl,
class CONF>
116 template<
class FLAGS,
class CONF=Config<> >
122 template<u
int Fl,
class FLAGS,
class CONF>
126 ,
typename BuildConfigFromFlags<FLAGS,CONF>::Config
132 template<
class FLAGS>
138 template<u
int ii, u
int jj>
141 enum{ VAL = ii < jj? jj : ii };
157 template<
class FLAGS>
160 template<u
int ff,
class FLAGS>
163 enum{ BITS = maxC< ff, FlagInfo<FLAGS>::BITS> ::VAL
176 static typename FUNC::Ret
177 accept (FUNC& functor)
179 return functor.done();
183 template<
class CONF,
class TAIL>
186 typedef typename CONF::Flags ThisFlags;
192 static typename FUNC::Ret
193 accept (FUNC& functor)
A template metaprogramming technique for manipulating collections of types.
Implementation namespace for support and library code.