Skip to content
Snippets Groups Projects
  • sss's avatar
    7e717103
    cherry-picking commit 66ddfdb4: StoreGate: Some adjustments for Handle ctors. · 7e717103
    sss authored and Vakhtang Tsulaia's avatar Vakhtang Tsulaia committed
    A Handles can be initialized from a HandleKey; in that case, it retains
    a reference to the HandleKey.  But that's problematic if the HandleKey
    was a temporary.  Add deleted ctors taking rvalue references to disallow
    passing a temporary for a HandleKey.
    
    Read/Write/UpdateHandle can in addition be directly initialized from strings.
    For consistency, add versions of these ctors that also take
    and EventContext.
    7e717103
    History
    cherry-picking commit 66ddfdb4: StoreGate: Some adjustments for Handle ctors.
    sss authored and Vakhtang Tsulaia's avatar Vakhtang Tsulaia committed
    A Handles can be initialized from a HandleKey; in that case, it retains
    a reference to the HandleKey.  But that's problematic if the HandleKey
    was a temporary.  Add deleted ctors taking rvalue references to disallow
    passing a temporary for a HandleKey.
    
    Read/Write/UpdateHandle can in addition be directly initialized from strings.
    For consistency, add versions of these ctors that also take
    and EventContext.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.