Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove template parameter Archive from InputBindingsMap and OutputBindingsMap #812

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 11, 2024

  1. Remove template parameter Archive from InputBindingsMap and `Outp…

    …utBindingsMap`
    
    `Archive` isn't directly needed for any content in binding
    structs and required only to instantiate different global static
    maps for different archives.
    
    This commit turns `InputBindingsMap` and `OutputBindingsMap` into
    non-templated structs and modifies binding maps to include archive's
    typeid, such that they describe relation: `typeid(Archive) ->
    per-archive binding map`.
    
    That way only two global static objects will be created in runtime (for
    input and output bindings respectively) in each library/executable. Also
    types of these globals are independent from included archives and known
    beforehand.
    uentity authored and arekfu committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    8d57492 View commit details
    Browse the repository at this point in the history