Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-04-09 10:11:44


> does not compile with MSVC 7.0 beta 1 (strange)
>
> C:\Projects\include\boost\any_function.hpp(505) : error C2667:
> 'boost::detail::has_empty_target' : none of 7 overloads have a best
> conversion

Terrific, MSVC 7.0b1 matches R (*) (T1) to int (*) (void), deducing T1 as
void. Let's hope that "this behavior is not by design" and the final release
will work.

This breaks is_pointer_helper3 in composite_traits.hpp as well. With

#if _MSC_VER != 1300
#endif

around the R (*) (void) cases the small test program now compiles.

--
Peter Dimov
Multi Media Ltd.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk