Opened 15 years ago

Closed 13 years ago

#1697 closed Bugs (worksforme)

[utility][noncopyable] ADL barrier broken by msvc-9.0

Reported by: Shunsuke Sogame <pstade.mb@…> Owned by: Dave Abrahams
Milestone: Boost 1.36.0 Component: utility
Version: Boost Development Trunk Severity: Problem
Keywords: noncopyable Cc: bdawes@…

Description

See the attaced file. msvc-9.0 seems to make "parent" namespaces associated.

Attachments (1)

adl_barrier_broken.cpp (707 bytes ) - added by Shunsuke Sogame <pstade.mb@…> 15 years ago.
failed example.

Download all attachments as: .zip

Change History (4)

by Shunsuke Sogame <pstade.mb@…>, 15 years ago

Attachment: adl_barrier_broken.cpp added

failed example.

comment:1 by Dave Abrahams, 15 years ago

Cc: bdawes@… added
Milestone: Boost 1.36.0Boost 1.35.0
Owner: set to Dave Abrahams
Status: newassigned

This can probably be fixed by sinking boost::noncopyable into a subnamespace and then adding a using declaration to make it available in boost::

Beman, if we're supporting vc9 now, I think we should make this change for 1.35.0 so I changed the milestone. Feel free to contradict me and change it back

comment:2 by Steven Watanabe, 13 years ago

Component: Noneutility

comment:3 by Dave Abrahams, 13 years ago

Resolution: worksforme
Status: assignedclosed

I can't get this test case to break with VS 2008 Express..

Note: See TracTickets for help on using tickets.