Boost logo

Boost :

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


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk