mercredi 29 août 2018

How to define Boolean class using boost, the possible value should be TRUE or FALSE?

I am trying to implement the API for Boolean, I need to implement KMboolean 
class, possible value should be true or false. Is there any other way to 
implement Boolean(API) functionality using defined class. please help me to 
resolve my issue.  
here is my snippet

typedef KMBoolean;
typedef class
{
bool true,false;
};

i am new to API implementation, i am not sure my way is right or wrong, Anyone please help me to implement in general way to define Boolean functionality.

Aucun commentaire:

Enregistrer un commentaire