i want to write a generic class that i can configure by passing an "initialize" function that is in the class a struct by reference. the reason i want to do it by reference is that it would allow me to modify the settings on the fly without having to re run the "initialize"
even though that sounds great in theory this project is going into an embedded micro-controller which has limited resources. further pointers are already used to work with the hardware so i would still have to pass pointers to the hardware control registers.