Skip to content
Snippets Groups Projects
  • Vijay Pai's avatar
    38004a8e
    Wrap groups of related CallOpSet's into a ref-counted structure · 38004a8e
    Vijay Pai authored
    whenever appropriate so as to avoid any unintentional free-before-use
    problems.
    
    Potential performance issue: this triggers an additional allocation
    for each Async call initiation, along with the cost of ref-counting
    shared_ptr . But this is worth it for the additional safety provided
    here without any change to the exposed C++ API.
    38004a8e
    History
    Wrap groups of related CallOpSet's into a ref-counted structure
    Vijay Pai authored
    whenever appropriate so as to avoid any unintentional free-before-use
    problems.
    
    Potential performance issue: this triggers an additional allocation
    for each Async call initiation, along with the cost of ref-counting
    shared_ptr . But this is worth it for the additional safety provided
    here without any change to the exposed C++ API.