From: Michiel Salters (michiel.salters_at_[hidden])
Date: 2004-06-24 10:33:19
BOOST_STATIC_ASSERT( (T*) 0 )
work for you ?
> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]]On Behalf Of Robert Ramey
> Sent: donderdag 3 juni 2004 22:29
> To: boost_at_[hidden]
> Subject: [boost] (no subject)
> BOOST_STATIC_ASSERT -
> On occasion I find it convenient to use:
> In templated code that should be unreachable. However, its
> doesn't work
> with compilers that are too smart for their own good. In
> order to make this
> work I need something like:
> Where boost::false<T> is a type that yields false for any type T.
> Am I correct here? Where should such a code snippet be
> placed? Could it be
> added to mpl, type_trait or what?
> Robert Ramey
> Unsubscribe & other changes:
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk