POV-Ray : Newsgroups : povray.off-topic : My first C++ program : Re: A test Server Time
30 Sep 2024 21:33:17 EDT (-0400)
  Re: A test  
From: Warp
Date: 24 Sep 2008 09:11:23
Message: <48da3c7b@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> fold goes from yadda.begin() to yadda.end(). If you don't want to do 
> that, use a different function. Or write it more iteratively, so to 
> speak. Think about your C++ implementation of fold - you would have to 
> copy the list there too if you wanted to use that on a subset.

  Or I could simply make an overloaded version of the fold function which
takes an iterator range.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.