$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r64239 - trunk/boost/spirit/home/support
From: hartmut.kaiser_at_[hidden]
Date: 2010-07-21 18:05:18
Author: hkaiser
Date: 2010-07-21 18:05:16 EDT (Wed, 21 Jul 2010)
New Revision: 64239
URL: http://svn.boost.org/trac/boost/changeset/64239
Log:
Spirit: fixed bug in debug print for optionals
Text files modified: 
   trunk/boost/spirit/home/support/attributes.hpp |     5 +----                                   
   1 files changed, 1 insertions(+), 4 deletions(-)
Modified: trunk/boost/spirit/home/support/attributes.hpp
==============================================================================
--- trunk/boost/spirit/home/support/attributes.hpp	(original)
+++ trunk/boost/spirit/home/support/attributes.hpp	2010-07-21 18:05:16 EDT (Wed, 21 Jul 2010)
@@ -789,9 +789,6 @@
     }
 
     ///////////////////////////////////////////////////////////////////////////
-    template <typename Out, typename T>
-    void print_attribute(Out& out, T const& val);
-
     namespace detail
     {
         template <typename Out>
@@ -910,7 +907,7 @@
     inline void print_attribute(Out& out, boost::optional<T> const& val)
     {
         if (val)
-            print_attribute(out, val);
+            print_attribute(out, *val);
         else
             out << "<empty>";
     }