| 33 | public: |
| 34 | template <typename Func> |
| 35 | void ForEachLayer(Func func) const |
| 36 | { |
| 37 | for (auto it = m_Layers.begin(); it != m_Layers.end(); ) |
| 38 | { |
| 39 | auto next = std::next(it); |
| 40 | func(*it); |
| 41 | it = next; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | template <typename Func> |
| 46 | void ForEachIConnectableLayer(Func func) const |
no test coverage detected