|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-03-01 10:16:29
From: "Douglas Gregor" <gregod_at_[hidden]>
Sorry, I lost the thread. :-)
> template<typename T, size_t sz, size_t align>
> struct member {
> typedef typename ct_if<sizeof(T) <= sz && sizeof(U) <= align,
What is 'U'?
> T,
> char>::type type;
> };
>
> template<size_t sz, size_t align>
> union force_align {
What are 'sz' and 'align'?
> typename member<short, sz, align>::type a;
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk