
5 Feb
2007
5 Feb
'07
12:50 p.m.
On Sun, Feb 04, 2007 at 04:33:52PM +0200, Musasabi wrote:
On 04.02 12:31, Duncan Coutts wrote:
Dons wrote:
Yes, I've thought this would be useful too. A la 'sizeOf' in Storable. Should it be a member of the Binary class?
Yes, as there is no other good way of implementing it in general.
And I presume the class would define a default function returning (1,Nothing), or maybe returning (0,Nothing), since some data types will take no space. So it'd only put a burden on instance-declarers who want to help out optimizing users of their data type. -- David Roundy Department of Physics Oregon State University