• Vadim Zeitlin's avatar
    Add helper exchange_type_cast<>() template function. · 0f1f295f
    Vadim Zeitlin authored
    The new function replaces explicit static_cast<> and can be used to upcast a
    void pointer to the type of the value corresponding to the exchange_type
    associated with it somewhat more safely and less verbosely.
    
    There are no real changes in this commit.
    0f1f295f