9 virtual ~Car() =
default;
18 if (handle ==
nullptr)
return nullptr;
21 void *maker = dlsym(handle,
"CarFactory");
23 if (maker ==
nullptr)
return nullptr;
25 typedef Car *(*fptr)();
30 fptr func =
reinterpret_cast<fptr
>(
reinterpret_cast<void *
>(maker));
static Car * instantiate(const dlhandle handle)
void set_loggers([[maybe_unused]] GOptions *const g)