Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74838 - trunk/boost/spirit/home/qi/binary
From: hartmut.kaiser_at_[hidden]
Date: 2011-10-08 22:11:13


Author: hkaiser
Date: 2011-10-08 22:11:12 EDT (Sat, 08 Oct 2011)
New Revision: 74838
URL: http://svn.boost.org/trac/boost/changeset/74838

Log:
Spirit: Removing bogus static_assert
Text files modified:
   trunk/boost/spirit/home/qi/binary/binary.hpp | 5 -----
   1 files changed, 0 insertions(+), 5 deletions(-)

Modified: trunk/boost/spirit/home/qi/binary/binary.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/binary/binary.hpp (original)
+++ trunk/boost/spirit/home/qi/binary/binary.hpp 2011-10-08 22:11:12 EDT (Sat, 08 Oct 2011)
@@ -189,11 +189,6 @@
           , Context& /*context*/, Skipper const& skipper
           , Attribute& attr) const
         {
- // This assertion makes sure that the supplied attribute type is
- // large enough to hold the amount of bytes to be read from the
- // input.
- BOOST_STATIC_ASSERT(sizeof(Attribute) < qi::detail::integer<bits>::size);
-
             qi::skip_over(first, last, skipper);
 
             typename attribute<Context, Iterator>::type attr_;


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk