ITK  5.4.0
Insight Toolkit
std::tuple_size< itk::ImageRegion< VImageDimension > > Struct Template Reference

#include <itkImageRegion.h>

Detailed Description

template<unsigned int VImageDimension>
struct std::tuple_size< itk::ImageRegion< VImageDimension > >

std::tuple_size specialization, needed for ImageRegion to support C++ structured binding.

Example, using structured binding to retrieve the index and size of a region:

auto [index, size] = image.GetRequestedRegion();

Definition at line 455 of file itkImageRegion.h.

+ Inheritance diagram for std::tuple_size< itk::ImageRegion< VImageDimension > >:
+ Collaboration diagram for std::tuple_size< itk::ImageRegion< VImageDimension > >:

The documentation for this struct was generated from the following file: