Chapter 22. Boost.Move

| Home | Libraries | People | FAQ | More

## Chapter 22. Boost.Move

### Ion Gaztanaga

Copyright © 2008-2014 Ion Gaztanaga

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

| Important
To be able to use containers of movable-only values you will need to use containers supporting move semantics, like Boost.Container containers

| Note
Tested compilers: MSVC-7.1, 8.0, 9.0, GCC 4.3-MinGW in C++03 and C++0x modes, Intel 10.1

## What is Boost.Move?

Rvalue references are a major C++0x feature, enabling move semantics for C++ values. However, we don't need C++0x compilers to take advantage of move semanatics. Boost.Move emulates C++0x move semantics in C++03 compilers and allows writing portable code that works optimally in C++03 and C++0x compilers.

Last revised: April 20, 2016 at 11:30:38 GMT |