Opened 15 years ago
Closed 14 years ago
#1704 closed Bugs (fixed)
[any] 4512 warning from VC8/9 on warning level 4
Reported by: | Owned by: | nasonov | |
---|---|---|---|
Milestone: | To Be Determined | Component: | any |
Version: | Boost Development Trunk | Severity: | Cosmetic |
Keywords: | Cc: |
Description
Running the Any tests on VC8/9 + warning level 4 produces a couple of 4512 (assignment operator could not be generated) warnings:
boost/any.hpp(130) : warning C4512: 'boost::any::holder<ValueType>' : assignment operator could not be generated
Attached is a patch to silence the warning.
Attachments (2)
Change History (4)
by , 15 years ago
comment:1 by , 15 years ago
by , 15 years ago
Attachment: | any_private_assignment.patch added |
---|
Proposed fix by adding a private assignment to any::holder
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
For the record, the issue is discussed at the Boost Developer mailing list, {boost} 1704 {any} 4512 warning from VC8/9 on warning level 4