Boost logo

Boost :

From: Marat Khalili (0x8.0p15_at_[hidden])
Date: 2007-08-14 15:02:29


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

With Best Regards,

Boost list run by bdawes at, gregod at, cpdaniel at, john at