|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r78400 - trunk/boost/math/special_functions/detail
From: john_at_[hidden]
Date: 2012-05-10 05:16:27
Author: johnmaddock
Date: 2012-05-10 05:16:26 EDT (Thu, 10 May 2012)
New Revision: 78400
URL: http://svn.boost.org/trac/boost/changeset/78400
Log:
Add needed forward declarations (keeps GCC-4.7.0 happy).
Text files modified:
trunk/boost/math/special_functions/detail/lgamma_small.hpp | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
Modified: trunk/boost/math/special_functions/detail/lgamma_small.hpp
==============================================================================
--- trunk/boost/math/special_functions/detail/lgamma_small.hpp (original)
+++ trunk/boost/math/special_functions/detail/lgamma_small.hpp 2012-05-10 05:16:26 EDT (Thu, 10 May 2012)
@@ -15,6 +15,14 @@
namespace boost{ namespace math{ namespace detail{
//
+// These need forward declaring to keep GCC happy:
+//
+template <class T, class Policy, class Lanczos>
+T gamma_imp(T z, const Policy& pol, const Lanczos& l);
+template <class T, class Policy>
+T gamma_imp(T z, const Policy& pol, const lanczos::undefined_lanczos& l);
+
+//
// lgamma for small arguments:
//
template <class T, class Policy, class Lanczos>
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