What is a protocol class?

View previous topic View next topic Go down

What is a protocol class?

Post  Admin on Sun Jan 31, 2010 5:39 pm

An abstract class is a protocol class if:
1.it neither contains nor inherits from classes that contain member data, non-virtual functions, or private (or protected) members of any kind.

2.it has a non-inline virtual destructor defined with an empty implementation

3.all member functions other than the destructor including inherited functions, are declared pure virtual functions and left undefined.

Admin
Admin

Posts : 71
Join date : 2010-01-21

View user profile http://campus-interview.co.cc

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum