|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r55051 - trunk/boost/spirit/home/karma/binary
From: hartmut.kaiser_at_[hidden]
Date: 2009-07-20 20:23:36
Author: hkaiser
Date: 2009-07-20 20:23:35 EDT (Mon, 20 Jul 2009)
New Revision: 55051
URL: http://svn.boost.org/trac/boost/changeset/55051
Log:
Spirit: added missing base classes
Text files modified:
trunk/boost/spirit/home/karma/binary/binary.hpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/boost/spirit/home/karma/binary/binary.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/binary/binary.hpp (original)
+++ trunk/boost/spirit/home/karma/binary/binary.hpp 2009-07-20 20:23:35 EDT (Mon, 20 Jul 2009)
@@ -167,7 +167,8 @@
///////////////////////////////////////////////////////////////////////////
template <BOOST_SCOPED_ENUM(boost::integer::endianness) endian, int bits>
- struct any_binary_generator
+ struct any_binary_generator
+ : primitive_generator<any_binary_generator<endian, bits> >
{
template <typename Context, typename Unused>
struct attribute
@@ -222,6 +223,7 @@
template <BOOST_SCOPED_ENUM(boost::integer::endianness) endian, int bits
, bool no_attribute>
struct literal_binary_generator
+ : primitive_generator<literal_binary_generator<endian, bits> >
{
typedef boost::integer::endian<
endian, typename karma::detail::integer<bits>::type, bits
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