[pdal] questions about iterator and buffer semantics
Howard Butler
hobu.inc at gmail.com
Wed Jul 3 07:06:26 PDT 2013
On Jul 3, 2013, at 4:21 AM, Mateusz Loskot <mateusz at loskot.net> wrote:
> On 3 July 2013 04:15, Chris Foster <chris.foster at roames.com.au> wrote:
>> On 3 July 2013 00:55, Howard Butler <hobu.inc at gmail.com> wrote:
>
> The use of a pointer is idiomatic, indeed, but it is not equivalent to
> exceptions,
> same with boost::optional - it's just syntactic sugar for nullptr in this case.
> It is equivalent to the following:
That is very much the intention -- sugar for nullptr. It is also a case of Python infecting the C++. Looking through things now, it doesn't appear to be even that good of sugar. I will try to create a branch that removes getDimensionOptional...
Howard
More information about the pdal
mailing list