id summary reporter owner description type status milestone component version severity resolution keywords cc 9338 VS2005 compiler errors in swap() definition after including container/memory_util.hpp Fedor Trushkin Ion Gaztañaga "This problem is perfectly reproducable under VS2005 even with the latest boost 1_55 rc. Here's the minimal reproducable example: // ----- // This was the original inclusion actually //#include #include #include #include void swap(); // ------ In VS2005 this innocent piece of code yields: // ------ error C2365: 'swap' : redefinition; previous definition was 'formerly unknown identifier' // ------ VS2010 and GCC 4.5.2 have no complaints. Looks like VS2005 compiler is entangled somehow by BOOST_INTRUSIVE_HAS_MEMBER magic. Actually, it's quite a headache that with VS2005 one can't introduce swap() after, say, flat_map is included." Bugs closed To Be Determined container Boost 1.54.0 Problem fixed