Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67496 - trunk/boost/spirit/home/phoenix/detail
From: joel_at_[hidden]
Date: 2010-12-29 18:38:33


Author: djowel
Date: 2010-12-29 18:38:19 EST (Wed, 29 Dec 2010)
New Revision: 67496
URL: http://svn.boost.org/trac/boost/changeset/67496

Log:
Added specialization for T const* in reference_type
Text files modified:
   trunk/boost/spirit/home/phoenix/detail/type_deduction.hpp | 6 ++++++
   1 files changed, 6 insertions(+), 0 deletions(-)

Modified: trunk/boost/spirit/home/phoenix/detail/type_deduction.hpp
==============================================================================
--- trunk/boost/spirit/home/phoenix/detail/type_deduction.hpp (original)
+++ trunk/boost/spirit/home/phoenix/detail/type_deduction.hpp 2010-12-29 18:38:19 EST (Wed, 29 Dec 2010)
@@ -254,6 +254,12 @@
         typedef T& type;
     };
 
+ template <typename T>
+ struct reference_type<T* const>
+ {
+ typedef T const& type;
+ };
+
     template <typename C>
     struct const_reference_type
     {


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