The functions filler_relocInfo and prefix_relocInfo are defined (inline) at global scope. They are declared as friends of relocInfo, so they have access to a private constructor of that class.
There's really no good reason for these to be polluting the global namespace. They should just be public static members of relocInfo (perhaps with name adjustment).
There's really no good reason for these to be polluting the global namespace. They should just be public static members of relocInfo (perhaps with name adjustment).