cds  2.3.2
cds::opt::move_policy< Type > Struct Template Reference

Move policy option. More...

#include <cds/opt/options.h>

Detailed Description

template<typename Type>
struct cds::opt::move_policy< Type >

Move policy option.

The move policy specifies an algorithm for moving object content. In trivial case, it can be simple assignment.

The move interface is:

template <typename T>
struct move_policy {
void operator()( T& dest, T& src );
};

Note that in move algorithm the src source argument can be changed too. So you can use move semantics.

Usually, the default move policy is opt::v::assignment_move_policy


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

cds 2.3.2 Developed by Maxim Khizhinsky aka khizmax and other contributors 2007 - 2017
Autogenerated Sun Dec 31 2017 12:10:50 by Doxygen 1.8.13