diff --git a/include/itkRLEImageScanlineConstIterator.h b/include/itkRLEImageScanlineConstIterator.h index 20b8016..3ed266c 100644 --- a/include/itkRLEImageScanlineConstIterator.h +++ b/include/itkRLEImageScanlineConstIterator.h @@ -178,6 +178,16 @@ class ImageScanlineConstIterator> return *this; } }; + +// Deduction guide for class template argument deduction (CTAD). +template +ImageScanlineConstIterator(SmartPointer>, const typename RLEImage::RegionType &) + ->ImageScanlineConstIterator>; + +template +ImageScanlineConstIterator(const RLEImage *, const typename RLEImage::RegionType &) + ->ImageScanlineConstIterator>; + } // end namespace itk #endif // itkRLEImageScanlineConstIterator_h diff --git a/include/itkRLEImageScanlineIterator.h b/include/itkRLEImageScanlineIterator.h index 68dca6e..a7662e9 100644 --- a/include/itkRLEImageScanlineIterator.h +++ b/include/itkRLEImageScanlineIterator.h @@ -102,6 +102,12 @@ class ImageScanlineIterator> return *this; } }; + +// Deduction guide for class template argument deduction (CTAD). +template +ImageScanlineIterator(SmartPointer>, const typename RLEImage::RegionType &) + ->ImageScanlineIterator>; + } // end namespace itk #endif // itkRLEImageScanlineIterator_h