
14 Aug
2007
14 Aug
'07
7:02 p.m.
Hello, Just a few questions about the library. 1. Is it a generalization of the std::ios_base::flags approach?
func2(flags<foo>(foo_1) | foo_2 | bar_1 | bar_2); //Compile time error
2. It'd be more convenient without <CODE>flags<foo>(...)</CODE> conversion, wouldn't it? 3. Can <CODE>flags<foo>(foo_1) | foo_2</CODE> be used as a compile-time constant? With Best Regards, Marat