NDEVR
API Documentation
ForceLinker

Helper struct that forces linkage with a static library by calling a function at construction time. More...

Public Member Functions

 ForceLinker (ForceLinkFunction function)
 Calls the provided function to force the linker to include the associated object file.

Detailed Description

Helper struct that forces linkage with a static library by calling a function at construction time.

Definition at line 139 of file misc.h.

Constructor & Destructor Documentation

◆ ForceLinker()

ForceLinker::ForceLinker ( ForceLinkFunction function)
inline

Calls the provided function to force the linker to include the associated object file.

Parameters
[in]functionThe function pointer to invoke.

Definition at line 143 of file misc.h.


The documentation for this struct was generated from the following file:
  • GraphOptimization/Headers/misc.h