2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

Move default arguments to forward declaration.

Fixes #6930.

[SVN r78559]
This commit is contained in:
John Maddock
2012-05-23 17:18:49 +00:00
parent 382d525d15
commit 1a2d4d2c5e
2 changed files with 2 additions and 2 deletions

View File

@@ -140,7 +140,7 @@ inline typename tools::promote_args<T>::type jacobi_elliptic(T k, T theta, T* pc
}
template <class T>
inline typename tools::promote_args<T>::type jacobi_elliptic(T k, T theta, T* pcn = 0, T* pdn = 0)
inline typename tools::promote_args<T>::type jacobi_elliptic(T k, T theta, T* pcn, T* pdn)
{
return jacobi_elliptic(k, theta, pcn, pdn, policies::policy<>());
}

View File

@@ -742,7 +742,7 @@ namespace boost
typename tools::promote_args<T>::type jacobi_elliptic(T k, T theta, T* pcn, T* pdn, const Policy&);
template <class T>
typename tools::promote_args<T>::type jacobi_elliptic(T k, T theta, T* pcn, T* pdn);
typename tools::promote_args<T>::type jacobi_elliptic(T k, T theta, T* pcn = 0, T* pdn = 0);
template <class U, class T, class Policy>
typename tools::promote_args<T, U>::type jacobi_sn(U k, T theta, const Policy& pol);