Prev Next Home
Slide 8 of 10
RegisterConverter
ConverterList& TheConvertList() {
static ConverterList theConverterList;
return theConverterList; }
template
void RegisterConverter() {
static const bool onlyDoThisONce = (TheConverterList.push_back(CreateThrowable), true); }
//onlyDoThisOnce == dummy variable
//debugging aid -- will = true when the function gets run


Prev Next Home
Slide 8 of 10