Skip to content
Snippets Groups Projects
Forked from ogs / ogs
Source project has a limited visibility.
  • Dmitri Naumov's avatar
    d6c48373
    [MeL] Add move-ctor to Mesh, disable assignments · d6c48373
    Dmitri Naumov authored
    Saves few deep copies in the current implementation of
    the deactivated subdomains and can be further used
    to eliminate the unique_ptr return type pattern
    occuring in the construction of final or intermediate
    objects.
    
    Explicitly delete Mesh assignments:
    Because the mesh id is unique (const member set from global
    counter) the assignments should be forbidden (explicitly)
    because comparison of meshes by ids would be broken.
    d6c48373
    History
    [MeL] Add move-ctor to Mesh, disable assignments
    Dmitri Naumov authored
    Saves few deep copies in the current implementation of
    the deactivated subdomains and can be further used
    to eliminate the unique_ptr return type pattern
    occuring in the construction of final or intermediate
    objects.
    
    Explicitly delete Mesh assignments:
    Because the mesh id is unique (const member set from global
    counter) the assignments should be forbidden (explicitly)
    because comparison of meshes by ids would be broken.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.