Opened 16 years ago

Closed 16 years ago

#635 closed Bugs (Fixed)

is_base_and_derived: no workaround needed fo SunPro CC 5.5

Reported by: nobody Owned by: John Maddock
Milestone: Component: type_traits
Version: None Severity:
Keywords: Cc:

Description

boost/type_traits/is_base_and_derived.hpp, line 27

27 :  && !BOOST_WORKAROUND(__SUNPRO_CC , 
BOOST_TESTED_AT(0x540)) \ 

probably should be changed to

27 :  && !BOOST_WORKAROUND(__SUNPRO_CC , <= 0x540)) \ 

since with SunPro compiler v.5.5 it works fine
(the exact compiler verion I checked is: Sun C++ 5.5 
Patch 113817-09 2004/08/03)

The broken is_base_and_derived version fails to detect 
private inheritance which in turn prevents from using 
such libraries as multi_index.

Change History (1)

comment:1 by John Maddock, 16 years ago

Status: assignedclosed
Logged In: YES 
user_id=14804

Thanks, will apply, John.
Note: See TracTickets for help on using tickets.