siplasplas
examples/reflection/dynamic/plugin.cpp

This example shows how the siplasplas-reflection-dynamic API can be used to export library API types and functions, and be loaded at runtime after loading the library