Skip to content

a/util: Add a general helper for C++ impls, and specific helper for pacing.

Rylie Pavlik requested to merge rpavlik/monado:implhelper into main

This is a mechanism for implementing Monado interfaces in C++. Doing it the naive way is dangerous because you can only use standard_layout types. This basically removes that limitation and means your implementation class doesn't have to touch the C interface type. Though that does mean it only works for method-only interfaces.

Edited by Rylie Pavlik

Merge request reports