Reading a code base and desperately trying to understand it.
template<typename selection>
void run_z_p_selection(xml_config &my_config){
system::start();
std::shared_ptr<selection> my = std::make_shared<selection>(my_config, machine, enable, timet);
system::addSelection(my);
}
- (xml_config &my config){}. Is this an object being created as an address? I don't understand.
- Where are all the (my_config, machine, enable, timet) coming from if they are not input arguments to the function?