Boost logo

Boost Users :

From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2006-06-13 16:21:39


>
> Date: Tue, 13 Jun 2006 19:28:07 +0100
> From: "John Maddock" <john_at_[hidden]>
>
> What's wrong with:
>
> boost::alignment_of<unknown_struct>::value ?
>
> You can feed the result into type_with_alignment<> if that's what you want
> as well.
>
> John.

if unknown_struct is an incomplete type (which is what I meant, and should
have said), alignment_of doesn't compile.

Tony



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net