Subject: Re: [Boost-build] Problem with entry points
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-09-22 01:36:08
On Tuesday 22 September 2009 Charles Southey wrote:
> I've built the Math library on Windows using bjam using this...
> bjam toolset=msvc --with-math --build-type=complete stage
> I'm using P/invoke to call functions from managed code in C#. Generally it
> works fine (e.g. functions 'beta' and 'ibeta' work well) - but some of the
> functional entry points don't seem to be found (e.g. 'ibeta_inv').
ibeta_inv is defined like this:
template <class T1, class T2, class T3, class T4, class Policy>
inline typename tools::promote_args<T1, T2, T3, T4>::type
ibeta_inv(T1 a, T2 b, T3 p, T4* py, const Policy& pol)
So, it's not a function, it's function template and unless it's instantiated
for specific types, you won't have anything to call.
Boost-Build 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