Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/utility.h

    r54c9000 r2e30d47  
    9898}
    9999
    100 template< typename SrcContainer, typename DestContainer, typename Predicate >
    101 void cloneAll_if( const SrcContainer &src, DestContainer &dest, Predicate pred ) {
    102         std::back_insert_iterator< DestContainer > out( dest );
    103         for ( auto x : src ) {
    104                 if ( pred(x) ) {
    105                         *out++ = x->clone();
    106                 }
    107         } // while
    108 }
    109 
    110100template< typename Container >
    111101void assertAll( const Container &container ) {
Note: See TracChangeset for help on using the changeset viewer.