Thursday, July 07, 2005

Unions and Constructors

You can define an union having constructors but a member of class type having constructor is not allowed in union. The reason is obvious: how would the compiler know which destructor to invoke when an object of the union goes out of scope? (for that matter, compiler does not even know which constructor to invoke at the time of creation of an object of such union)

10 comments:

completely-complete said...

Exciting blog. The site out did itself and will be
back! I love surfing the internet for blogs that are
exactly like this blog.
Go and find my coupon codes 1800contacts blog.

Cash Till Payday Loan said...

Unusual blog. I liked the site its from so much I
have to visit it again! I surf the web for blogs like
yours in my spare time.
Please take a journey to my 1800contacts com coupon blog.

dat-girl said...

Exciting blog. Your site was amazing and will be
back again! I never get tired of looking for blogs
just like this one.
You got me! I will check out your 1800contacts coupon codes blog a.s.a.p!

Instant Cash Loan Till Payday Com said...

Creative blog. I just kept looking at it over and
over! Im always looking for blogs like this!
Go by and hit my 1800contacts coupon code blog, you'll be glad you did.

final fantasy 10 musicd said...

Exciting blog. Your site was amazing and will be
back again! I never get tired of looking for blogs
just like this one.
No matter when you are, just stop by and check for my 1800contacts coupon codes blog site.

stunned said...

Prodigious blog. Loved it so much I went to it
again! Just go online and search for blogs that are
worth the value as yours.
Please proceed to my coupon codes 1800contacts blog when you find the time.

maryland mortgagee said...

Super blog. I enjoyed the site and when I have the
time, shall visit the site again. Finding blogs this
good on the internet.
You must peep out my coupon 1800contacts blog.

quick cash advance loan1c1 said...

Super blog. I enjoyed the site and when I have the
time, shall visit the site again. Finding blogs this
good on the internet.
If your look to uncover information, please visit my 1800contacts coupon blog

Instant Cash Loan Till Payday said...

Irresistible blog. I look for blogs like this one
when time allows me to. I enjoyed the site and I'll
check it next time!
You must peep out my 1800contacts coupon codes blog.

job opportunitya said...

Fine blog. I found your site suitable for another
visit! And when I'm able to surf the web, I look for
blogs as great as your work.
Sweetie, go and search my plastic surgery for man blog for what you need.