Rcpp Version 1.1.2
Loading...
Searching...
No Matches
swap.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  std

Macros

#define RCPP_GENERATE_SWAP(TYPE, RTYPE)

Macro Definition Documentation

◆ RCPP_GENERATE_SWAP

#define RCPP_GENERATE_SWAP ( TYPE,
RTYPE )
Value:
template<> inline void swap< Rcpp::internal::TYPE<RTYPE> >( \
Rcpp::internal::TYPE<RTYPE>& a , \
Rcpp::internal::TYPE<RTYPE>& b) { \
a.swap(b) ; \
}

Definition at line 28 of file swap.h.