Warp wrote:
> No, no! Don't kludge it. You can never know whether the STL
> implementations
> are faster than that.
> The correct answer is to put 'using namespace std;' in config.h. (I
> don't
> know why this hasn't be done already.)
>
Yep, of course you are right. I just could not find a reference to min/max
in STL in my documentation. To get it working it is already enough to add
using std::max;
using std::min;
into config.h. I even wondered why this wasn't in STL :D
- Micha
--
http://objects.povworld.org - the POV-Ray Objects Collection
Post a reply to this message
|