$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-04-26 07:28:17
From: "Ed Brey" <brey_at_[hidden]>
> The real world can be surprising. At least it surprised me. The
> following actually compiled (and hopefully is legal C++):
>
> float (&pi)() = boost::math::constants<float>::pi;
> a = pi() * r * r;
And if you're lucky, the compiler will inline pi().
-- Peter Dimov Multi Media Ltd.