This is probably more of a C++ question than a Boost/Math question. I think the answer comes down to a (surprising?) Boost namespace convention.
In a program like this: ``` #include <boost/math/distributions/beta.hpp> using boost::math::beta_distribution; int main() { float a = 1.5f; float b = 3.0f; beta_distribution<float> dist(a, b); auto m = mean(dist); } ``` how does the name 'mean' end up in scope in 'main()'? I would have expected (and preferred!) something like 'using boost::math::mean;' to be required. Warren _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users