|
Boost : |
From: Kevlin Henney (kevlin_at_[hidden])
Date: 2000-11-07 14:02:57
In message <4.3.2.7.2.20001107131644.02301a80_at_[hidden]>, Beman
Dawes <beman_at_[hidden]> writes
>At 04:56 PM 11/7/2000 +0000, Kevlin Henney wrote:
>
> >>* What's the typical sizeof() of an object of class any?
> >
> >Interesting: Do we wish to be documenting at this level for Boost
> >classes in general?
>
>In general, no. But class any is a bit of an odd-ball in that it is so
>flexible with regard to types, and that raised the question in my mind. I
>found myself looking at the actual code. That's why the issue was raised.
It's not too much of a burden on the documentation -- "sizeof(any) ==
sizeof(T *) + implementation-defined padding" :-> -- so I will include
it.
Kevlin
____________________________________________________________
Kevlin Henney phone: +44 117 942 2990
Curbralan Limited mobile: +44 7801 073 508
mailto:kevlin_at_[hidden] fax: +44 870 052 2289
http://www.curbralan.com
____________________________________________________________
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk