[Boost-bugs] [Boost C++ Libraries] #5281: alloc_func typedef in rapidxml.hpp, VC++ compiler can't lookup

Subject: [Boost-bugs] [Boost C++ Libraries] #5281: alloc_func typedef in rapidxml.hpp, VC++ compiler can't lookup
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-03-08 13:41:39


#5281: alloc_func typedef in rapidxml.hpp, VC++ compiler can't lookup
-------------------------------------------+--------------------------------
 Reporter: bolero.murakami+cpp@… | Owner: cornedbee
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: property_tree
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------------+--------------------------------
 In VC8~VC10, a compilation error will be occurred when you declare
 "alloc_func" that can lookup from "boost::property_tree::detail::rapidxml"
 namespace before including <boost/property_tree/detail/rapidxml.hpp>.

 {{{
 struct alloc_func;
 #include <boost/property_tree/detail/rapidxml.hpp>
 }}}

 {{{
 error C2226: syntax error : unexpected type 'alloc_func' A syntax error
 occurs before or in the type specifier.
 }}}

 Because the VC++ compiler cause unexpectedly lookup about alloc_func
 typedef in rapidxml.hpp.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5281>
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:05 UTC