|
// 021220regexp.txt, Philippe
#include <list>
using namespace std;
class BaseStar {
//...
};
template<class Star> class StarList : public list <Star*> {
//...
};
typedef list<BaseStar*> blist;
#ifdef __CINT__
#pragma link C++ nestedclass;
#pragma link C++ nestedtypedef;
#pragma link C++ class BaseStar;
#pragma link C++ class StarList<BaseStar>;
#pragma link C++ class list<BaseStar*>;
//typedef list<BaseStar*> blist;
#pragma link C++ class blist::iterator;
#pragma link C++ class list<BaseStar*>::iterator;
#endif
#include <stdio.h>
void test() {
printf("success\n");
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.