Boost logo

Boost :

From: Stefan Slapeta (stefan_at_[hidden])
Date: 2003-12-22 02:25:42


David Abrahams <dave_at_[hidden]> wrote:

// "Stefan Slapeta" <stefan_at_[hidden]> writes:
//
//
// "should be" is a little unclear here. A clearer main would be:
//
// #include <boost/static_assert.hpp>
// int main()
// {
// // should be equal
// int s1 = Polymorphic_Test<std::iostream>::size_d1;
// int s2 = Polymorphic_Test<std::iostream>::size_d2;
// BOOST_STATIC_ASSERT(s1 == s2);
//
// BOOST_STATIC_ASSERT(Polymorphic_Test<std::iostream>::value);
// }
//
// Does that convey your intention?

Yes. Please excuse my inaccurateness :)
I let away the asserts to inspect the values in the debugger.

Stefan


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