Re: [Boost-bugs] [Boost C++ Libraries] #9386: Compilation error with polygon and multi_array

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9386: Compilation error with polygon and multi_array
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-11-18 23:23:38


#9386: Compilation error with polygon and multi_array
-------------------------------+---------------------------------
  Reporter: voodooattack@… | Owner: asydorchuk
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: polygon
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords: polygon multi_array
-------------------------------+---------------------------------

Comment (by asydorchuk):

 The problem here is with ADL (argument dependent lookup).
 The issues is explained with an example here:
 http://stackoverflow.com/questions/2958648/what-are-the-pitfalls-of-adl.
 From what I understood, there is no way to fix this permanently, as I can
 not rename the Boost.Polygon method because it's part of the public
 interface.
 The possible solution will be to use the following directive at the top of
 your file: #define BOOST_MULTI_ARRAY_NO_GENERATORS 1

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9386#comment:3>
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:14 UTC