LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
filterRangeFor.h File Reference

Utilities to manipulate range for loops. More...

#include <boost/iterator/filter_iterator.hpp>

Go to the source code of this file.

Classes

class  util::details::FilterRangeForStruct< Range, Pred >
 

Namespaces

 util
 Namespace for general, non-LArSoft-specific utilities.
 
 util::details
 

Functions

template<typename Range , typename Pred >
auto util::filterRangeFor (Range &&range, Pred &&pred) -> decltype(auto)
 Provides iteration only through elements passing a condition. More...
 

Detailed Description

Utilities to manipulate range for loops.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.fnal..nosp@m.gov)
Date
May 1, 2018

This is a header-only library.

Definition in file filterRangeFor.h.