Skip to content

Instantly share code, notes, and snippets.

@00krishna
Created April 19, 2017 21:50
Show Gist options
  • Save 00krishna/5aa62609655a1eb40a70fc470ebe9507 to your computer and use it in GitHub Desktop.
Save 00krishna/5aa62609655a1eb40a70fc470ebe9507 to your computer and use it in GitHub Desktop.
This is an empty abstract class. I used it as a way to group subclasses so that I can pass them as arguments to function.
#ifndef TVASTRCPP_ABSTRACTDATAREQUEST_H
#define TVASTRCPP_ABSTRACTDATAREQUEST_H
class AbstractDataRequest {
virtual ~dummyFunc() = 0;
};
#endif //TVASTRCPP_ABSTRACTDATAREQUEST_H
AbstractDataRequest::~dummyFunc(){};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment