• robinm@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    10 months ago

    emplace controls the construction of the object added to the collection. It’s also important but not related to the problem exposed by OP which is “how to remove the capacity check when we know statically that there is enough space”.