Boost C++ Libraries: Ticket #12726: compilation errors for iOS API https://svn.boost.org/trac10/ticket/12726 <p> Hello, </p> <p> bind seems to be broken. </p> <p> i tried to use xcode 8.2.1 (8C1002) compile bind.hpp to app, it reports error below: </p> <p> /usr/local/include/boost/operators.hpp:799:1: Declaration of anonymous class must be a definition /usr/local/include/boost/operators.hpp:799:1: A non-type template parameter cannot have type 'class B' /usr/local/include/boost/operators.hpp:799:1: Template argument for template type parameter must be a type </p> <p> after remove below line, it works well BOOST_OPERATOR_TEMPLATE4(random_access_iteratable) </p> <p> Can anybody confirm this behaviour? </p> <p> Operating system: OS X 10.12.2 Boost compiled using Apple LLVM 8.0 </p> <p> Thanks </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12726 Trac 1.4.3 Peter Dimov Thu, 05 Jan 2017 15:48:49 GMT <link>https://svn.boost.org/trac10/ticket/12726#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12726#comment:1</guid> <description> <p> This error comes from boost/operators.hpp, which is not part of Bind. Do you have a code example triggering the error? </p> </description> <category>Ticket</category> </item> </channel> </rss>