rpa::mover< Type, IsPod > Struct Template Reference

This template makes a destructive assignment, if 'swap' is available. More...

#include <move.h>

List of all members.

Static Public Member Functions

static void move (Type &aDst, Type &aSrc)
 Much faster than an assignment.
template<class IterIn, class IterOut>
static IterOut move_ranges (IterIn itBeg, IterIn itEnd, IterOut itOut)
 This is used for flushing a buffer to an output iterator.


Detailed Description

template<class Type, bool IsPod>
struct rpa::mover< Type, IsPod >

This template makes a destructive assignment, if 'swap' is available.


Member Function Documentation

template<class Type, bool IsPod>
static void rpa::mover< Type, IsPod >::move ( Type &  aDst,
Type &  aSrc 
) [inline, static]

Much faster than an assignment.

template<class Type, bool IsPod>
template<class IterIn, class IterOut>
static IterOut rpa::mover< Type, IsPod >::move_ranges ( IterIn  itBeg,
IterIn  itEnd,
IterOut  itOut 
) [inline, static]

This is used for flushing a buffer to an output iterator.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 25 10:20:37 2007 for rpa by  doxygen 1.4.7