| Forums.Sureshkumar.net : A Perfect Place to Share Knowledge Blogs Games Magazines |
|
|||||||
| 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. |
![]() |
|
|
LinkBack | Thread Tools | Rate Thread | Display Modes |
|
|
#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
|
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. |
|
|
|
|
|
#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
|
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. |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |