In reply to dave_59:
Hi Dave
Thank you for your suggestion.
Could you help clarify something ?
since I am calling set_type_override_by_type, there is no string-base lookup involved is that correct ? (as opposed to set_type_override_by_name)
can the return value of pkg1::bar::get_type() match the type registered by pkg2::bar::get_type() in the factory table during the call to set_type_override_by_type() ?
I think that this is what is happening in my scenario.
Thank you
Romain