Ignore:
Timestamp:
Aug 16, 2016, 11:40:30 AM (6 years ago)
Author:
Peter
Message:

Use boost iterator concepts (refs #803); avoid two loops in dna_reverse_comlement_copy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/dna_reverse_complement.cc

    r3475 r3517  
    4444    boost::mutable_bidirectional_iterator_archetype<char> bidirect;
    4545
     46    boost::iterator_archetype<char
     47      , boost::iterator_archetypes::readable_iterator_t
     48      , boost::bidirectional_traversal_tag> const_bidirect;
     49
    4650    dna_complement(input, input, output);
    4751    dna_reverse_complement(bidirect, bidirect);
    48     dna_reverse_complement_copy(input, input, output);
     52    dna_reverse_complement_copy(const_bidirect, const_bidirect, output);
    4953  }
    5054
Note: See TracChangeset for help on using the changeset viewer.