Boost logo

Boost :

From: Dave Harris (brangdon_at_[hidden])
Date: 2006-09-23 11:53:38


In-Reply-To: <20060922201042.GO21158_at_[hidden]>
irving_at_[hidden] (Geoffrey Irving) wrote (abridged):
> Especially if you can make it a static assert (which I'm not sure of).

Making it a static assert is not straightforward because addresses are not
compile-time constants. The straightforward way to compute offsets is by
subtracting addresses.

-- Dave Harris, Nottingham, UK.


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