Opened 7 years ago

#11771 new Bugs

Type error in has_member_finish_edge with CLR

Reported by: Taus Møller <taus.moeller@…> Owned by: Jeremiah Willcock
Milestone: To Be Determined Component: graph
Version: Boost 1.59.0 Severity: Problem
Keywords: preprocessor finish_edge Cc:

Description

When including depth_first_search.hpp in a project that compiles with CLR support in VS2015 the preprocessor macro: BOOST_TTI_HAS_MEMBER_FUNCTION(finish_edge) produces code that doesn't compile. When compiling the following error is thrown

Error C2664 'boost::type_traits::no_type boost::detail::has_member_function_finish_edge_detail_hcmf<BOOST_TTI_DETAIL_TP_T>::chkt<has_member_function_finish_edge_detail_hcmf<BOOST_TTI_DETAIL_TP_T>::cl_type<BOOST_TTI_DETAIL_TP_T>::type>(...)': cannot convert argument 1 from 'nullptr' to '...'

I am including a minimal example showing the problem

Attachments (1)

BoostErrorSSCCE.zip (6.7 KB ) - added by Taus Møller <taus.moeller@…> 7 years ago.
Minimal example showing the issue

Download all attachments as: .zip

Change History (1)

by Taus Møller <taus.moeller@…>, 7 years ago

Attachment: BoostErrorSSCCE.zip added

Minimal example showing the issue

Note: See TracTickets for help on using tickets.