Closed crisluengo closed 6 months ago
dip::Distribution functions:
Sample operator[]( dip::uint index ) const
Sample Back() const
Iterator begin() const noexcept
Iterator end() const noexcept
ConstSample
ConstIterator
dip::Distribution functions:
Sample operator[]( dip::uint index ) const
Sample Back() const
Iterator begin() const noexcept
Iterator end() const noexcept
are all returning objects that allow modifying the data stored in the distribution object. We need to createConstSample
andConstIterator
classes to prevent this.