Boost logo

Boost :

From: Steven Watanabe (steven_at_[hidden])
Date: 2007-03-01 14:02:54


AMDG

Lewis Hyatt <lhyatt <at> princeton.edu> writes:

>
> > Anyways, while pointers to static function variables are guaranteed
> > unique, they are not constant expressions, so this might not be what
> > the OP was looking for.
>
> Pointers to class static members can be passed as template non-type arguments,
> though, which might be sufficient.
>
> -Lewis

Alas. Comparison of pointers does not yield a constant expression.

In Christ,
Steven Watanabe


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