tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
stm::iccsync::SWAP_ADAPTER< T, S, D > Struct Template Reference

#include <icc-sync.hpp>

Collaboration diagram for stm::iccsync::SWAP_ADAPTER< T, S, D >:

Static Public Member Functions

static T swap (volatile T *address, S value)
 

Detailed Description

template<typename T, typename S, size_t D = sizeof(T) / sizeof(S)>
struct stm::iccsync::SWAP_ADAPTER< T, S, D >

An adapter class that matches types for swapping. This matches only when S is smaller than T, because equal sized and larger have their own specializations.

Member Function Documentation

template<typename T , typename S , size_t D = sizeof(T) / sizeof(S)>
static T stm::iccsync::SWAP_ADAPTER< T, S, D >::swap ( volatile T *  address,
value 
)
inlinestatic

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this struct was generated from the following file: