Boost C++ Libraries: Ticket #13013: Boost upgradeable lock - simple swap include error. https://svn.boost.org/trac10/ticket/13013 <p> This worked fine in 1.55 (Ubuntu 14), but 1.62 in Ubuntu 17 has issues: </p> <p> Ubuntu 17 (libboost-dev-all 1.62.0.1) </p> <p> /usr/include/boost/interprocess/sync/upgradable_lock.hpp:297:8: error: ‘simple_swap’ was not declared in this scope </p> <blockquote> <p> (simple_swap)(mp_mutex, other.mp_mutex); </p> <blockquote> <p> <sup><del></del><del></del><del> </del></sup></p> </blockquote> </blockquote> <p> Seems to be missing header: #include &lt;boost/interprocess/detail/simple_swap.hpp&gt; </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13013 Trac 1.4.3