www.digitalmars.com         C & C++   DMDScript  

D - sizeof(type) ??

reply "Chris Lajoie" <ctlajoie hotmail.com> writes:
Hi,
Is there an equivelant for C/C++'s sizeof operator for D?  Thanks!

Chris
Mar 07 2004
parent reply J Anderson <REMOVEanderson badmama.com.au> writes:
Chris Lajoie wrote:

Hi,
Is there an equivelant for C/C++'s sizeof operator for D?  Thanks!

Chris
  
Certainly, type.sizeof See: http://www.digitalmars.com/d/property.html -- -Anderson: http://badmama.com.au/~anderson/
Mar 07 2004
parent "Chris Lajoie" <ctlajoie hotmail.com> writes:
 Certainly, type.sizeof

 See:
 http://www.digitalmars.com/d/property.html
Ah, thanks much. I just noticed there's a search feature for the documentation. I'll just use that from now on ;)
Mar 07 2004