Monthly Archives: June 2012

Move Construction, part II


Last time, I provided an introduction to move construction, a new method of constructing objects in C++11. The move constructor looked like this: Texture( Texture&& rhs ) : // move ctor mpBits( std::move( rhs.mpBits ) ), mSize ( std::move( rhs.mSize ) ) { rhs.mpBits … Continue reading

Posted in C++ | 1 Comment