Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: Why empty class size is 1 Byte ???

Reply
Thread Tools

Re: Why empty class size is 1 Byte ???

 
 
raghav
Guest
Posts: n/a
 
      07-07-2003
"srikanth" <> wrote in message
news:beavia$hra$...
> HI all
> I wanted to know why an empty class size is one byte
> regards
> vijay


Bjarne Stroustrup says:
http://www.research.att.com/~bs/bs_f...l#sizeof-empty


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Why empty class size is 1 Byte ??? John Carson C++ 10 04-18-2010 11:40 AM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
why is size of object of empty class is 1 byte ishekara C++ 8 01-05-2005 10:03 PM
Size of an empty class why 1 byte ? Sweety C++ 4 08-21-2004 09:46 PM
Re: Why empty class size is 1 Byte ??? Alexander Terekhov C++ 0 07-07-2003 08:47 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57