Boost logo

Boost :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2003-02-12 12:37:51


Attached is a small patch for function_base.hpp. On line 302, there is
a T missing.

Markus

Index: function_base.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/function/function_base.hpp,v
retrieving revision 1.57
diff -c -r1.57 function_base.hpp
*** function_base.hpp 7 Feb 2003 14:03:35 -0000 1.57
--- function_base.hpp 12 Feb 2003 17:21:27 -0000
***************
*** 299,305 ****
  # if BOOST_WORKAROUND(__HP_aCC, <= 33900)
      template<bool cond, typename T> struct enable_if;
  # else
! template<bool, typename> struct enable_if;
  # endif
  
      template<typename T> struct enable_if<true, T> { typedef T type; };
--- 299,305 ----
  # if BOOST_WORKAROUND(__HP_aCC, <= 33900)
      template<bool cond, typename T> struct enable_if;
  # else
! template<bool, typename T> struct enable_if;
  # endif
  
      template<typename T> struct enable_if<true, T> { typedef T type; };


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk