Re: [Boost-bugs] [Boost C++ Libraries] #8791: successfull compilation depends on header order in Graph

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8791: successfull compilation depends on header order in Graph
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-06-04 07:59:30


#8791: successfull compilation depends on header order in Graph
------------------------------------+--------------------------------------
  Reporter: karnigen <karnigen@…> | Owner: jewillco
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: graph
   Version: Boost 1.54.0 | Severity: Cosmetic
Resolution: fixed | Keywords: header compilation graph
------------------------------------+--------------------------------------

Comment (by anonymous):

 @albert Thank you for your answer. `-std=c++11` is no help then :(

 @edaskel You found it! Thank you so much!!! I just tried to invert them,
 and it worked.

 Before in `boost/graph/named_function_params.hpp:326`:
 {{{
 typedef typename detail::choose_impl_result<boost::mpl::true_, Graph,
 typename get_param_type<Params, edge_capacity_t>::type,
 edge_capacity_t>::type CapacityEdgeMap;
 }}}

 After in `boost/graph/named_function_params.hpp:326`:
 {{{
 typedef typename detail::choose_impl_result<boost::mpl::true_, Graph,
 typename get_param_type<edge_capacity_t, Params>::type,
 edge_capacity_t>::type CapacityEdgeMap;
 }}}

 Shouldn't we submit that fix to the trunk?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8791#comment:8>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC