Forums.Sureshkumar.net : A Perfect Place to Share Knowledge         Blogs     Games    Magazines    

"Sharing knowledge does not lessen your store, often it gets you more. Sharing plays a key role in relationships and bonding, happens in small steps and is assisted through community membership."

Go Back   SURESHKUMAR.NET FORUMS > TECHNICAL DISCUSSIONS > DATA STRUCTURES, C, C++, VC ++ > ds. c , c++ Interview / Technical Questions
Register FAQ Members List Calendar Games Blogs Search Today's Posts Mark Forums Read

ds. c , c++ Interview / Technical Questions Kindly solve an many as questions you can. It will sharpen your skills and those solutions will help others too.

   

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 23-01-07, 08:25 PM   #1 (permalink)
Senior Member
 
Join Date: Jan 2007
Age: 23
Posts: 272
Thanks: 0
Thanked 2 Times in 2 Posts
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4 hasini is on a distinguished road
Can u have inline virtual functions in a class?

Can u have inline virtual functions in a class?
hasini is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-03-07, 07:41 PM   #2 (permalink)
Member
 
Join Date: Apr 2006
Location: India
Posts: 62
Thanks: 0
Thanked 2 Times in 2 Posts
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 3 VeeranjaneyuluT has disabled reputation
Re: Can u have inline virtual functions in a class?

hello,

I think we can have an inline virtual function in a class, but again it applies the inline properties. as for as it accommodates the inline properties i could not see any prob's.

Cheers,
Veeru.
VeeranjaneyuluT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 17-03-08, 03:05 PM   #3 (permalink)
Junior Member
 
Join Date: Mar 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 1 birjubanarasi is on a distinguished road
Re: Can u have inline virtual functions in a class?

No, inlining is done at compile time whereas virtual functions are resolved at run time(late binding).
So, virtual functions can't be inlined.
birjubanarasi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mega Free Download S/W Links A-Z yathish OTHERS 513 30-09-08 02:49 PM
Practice Question in JAVA sowmya571 JAVA Technologies 8 15-02-08 08:09 PM
J2EE - What are virtual functions? preethisingh Java Interview / Technical Questions 0 23-01-07 05:50 PM
java JSP naga JAVA Technologies 4 21-08-06 05:03 PM
Answers Wanted to these QUESTIONS ? aparna3032 JAVA Technologies 3 23-02-06 03:23 AM


All times are GMT +6.5. The time now is 01:01 PM.





Search Engine Optimization by vBSEO 3.1.0