Functions to manipulate function pointers
Contains a higher-level D friendly binding to the C nlopt library.