Re: [Boost-bugs] [Boost C++ Libraries] #6007: syntax error in VS2010

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6007: syntax error in VS2010
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-10-17 06:58:00


#6007: syntax error in VS2010
-------------------------------+--------------------------------------------
  Reporter: anonymous | Owner: jsiek
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: dynamic_bitset
   Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by anonymous):

 I meant boost python is boost/pyton.hpp

 anyway after preprocessing in vs2010,i've got follwing script.
 originally dynamic_bitset has this script
 "BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value);"
 but i think vs2010 can't read it.
 BOOST_STATIC_ASSERT((bool)detail::dynamic_bitset_impl::allowed_block_type<Block>::value);
 been changed -> ((void)0);

 *after preprocessing script :

  #line 42 "C:\\Program Files
 (x86)\\boost\\boost_1_47\\boost/dynamic_bitset/dynamic_bitset.hpp"

 namespace boost {

 template <typename Block, typename Allocator>
 class dynamic_bitset
 {

   ((void)0);

 public:
     typedef Block block_type;
     typedef Allocator allocator_type;
     typedef std::size_t size_type;
     typedef block_type block_width_type;

     static const block_width_type bits_per_block =
 (std::numeric_limits<Block>::digits);
     static const size_type npos = static_cast<size_type>(-1);

 public:

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6007#comment:5>
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:07 UTC