| Tag Move Switch Switch to force move. Include Headers seqan/basic.h Remarks The difference between move constructor and copy constructor is that the source object is not copied but moved into the target object. The source object can lose its content and will be empty after this operation in this case. A move constructor can sigificantly faster than a copy constructor. Tags
Move | Move instead of assign.
Examples String source("hello"); String target(source, Move()); // source is moved to target std::cout << source; //nothing printed since source lost content std::cout << target; //"hello" See Also move SeqAn - Sequence Analysis Library - www.seqan.de

Page built @2012/03/14 16:34:52