Opened 10 years ago

#7584 new Bugs

boost::interprocess::unique_ptr ambiguous overload for ‘operator=’

Reported by: Evgeny Panasyuk <evgeny.panasyuk@…> Owned by: Ion Gaztañaga
Milestone: To Be Determined Component: interprocess
Version: Boost 1.51.0 Severity: Problem
Keywords: unique_ptr move Cc:

Description

Attached code fails to compile on MSVC2005 and MSVC2008:

error C2593: 'operator =' is ambiguous main.cpp:23

It also fails on gcc-4.3.4 - http://ideone.com/p4EXFS (but with older Boost version).

Attachments (1)

unique_ptr_1.51_assign_ambiguous.cpp (327 bytes ) - added by Evgeny Panasyuk <evgeny.panasyuk@…> 10 years ago.

Download all attachments as: .zip

Change History (1)

by Evgeny Panasyuk <evgeny.panasyuk@…>, 10 years ago

Note: See TracTickets for help on using tickets.