Changeset 2904


Ignore:
Timestamp:
Dec 14, 2012, 1:00:22 AM (9 years ago)
Author:
Peter
Message:

boost concept check. refs #729

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/omic/algorithm.h

    r2903 r2904  
    2222#include "GenomicPosition.h"
    2323
     24#include <boost/concept/assert.hpp>
     25
     26#include <iterator>
    2427#include <map>
    2528#include <string>
     
    5255  void bam_pair_analyse(Iterator first, Iterator last, Visitor& visitor)
    5356  {
     57    BOOST_CONCEPT_ASSERT((boost::InputIterator<Iterator>));
     58
     59    using boost::Convertible;
     60    typedef typename std::iterator_traits<Iterator>::reference reference_type;
     61    BOOST_CONCEPT_ASSERT((Convertible<reference_type, BamRead>));
     62
    5463    using yat::omic::GenomicPosition;
    5564    // map in which key is mate's position
Note: See TracChangeset for help on using the changeset viewer.