garlic::ConstListRange< LayerType > Struct Template Reference

Wrapper struct that can be used in a for-loop range iterating over lists. More...

#include <layer.h>

Detailed Description

template<typename LayerType>
struct garlic::ConstListRange< LayerType >

Wrapper struct that can be used in a for-loop range iterating over lists.

Since a Layer must contain begin_list() and end_list() methods, it can't be used in for-loops.

ConstListRange get_list() const { return ConstListRange<LayerType>(layer); }

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