/mobile Handheld Friendly website

 performance measurements

Each table row shows performance measurements for this C++ g++ program with a particular command-line input value N.

 N  CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
250,000Make Error  2106   

Read the ↓ make, command line, and program output logs to see how this program was run.

Read k-nucleotide benchmark to see what this program should do.

 notes

gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu8)

 k-nucleotide C++ g++ program source code

// The Computer Language Benchmarks Game
// http://benchmarksgame.alioth.debian.org/

// Copy task division idea from Java entry, contributed by James McIlree
// Contributed by The Anh Tran

#include <omp.h>
#include <sched.h>

#include <algorithm>
#include <vector>
#include <iostream>
#include <sstream>
#include <stdio.h>

//#include <ext/hash_map>
//#include <boost/unordered_map.hpp>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/hash_policy.hpp>

#include <boost/algorithm/string/case_conv.hpp>
#include <boost/lambda/lambda.hpp>
#include <boost/lambda/bind.hpp>
#include <boost/format.hpp>
#include <boost/foreach.hpp>
#define foreach BOOST_FOREACH


typedef unsigned int   uint;

int const MAX_CORE = 16;
uint const SEED = 183; //183 193 405 <= zero collision for hashing algorithm


// Hash_table key type, with key's length = reading_frame_size
template <int frm_sz>
struct Key_T
{
   uint   hash_value;
   char   key[frm_sz +1];

   Key_T()             {   memset(this, 0, sizeof(*this));      }
   Key_T(Key_T const& k)   {   memcpy(this, &k, sizeof(*this));   }
   Key_T(char const * str)   {   ReHash (str);   }

   void 
   ReHash(char const *str)
   {
      // naive hashing algorithm.
      hash_value = 0;

      for (int i = 0; i < frm_sz; ++i)
      {
         key[i] = str[i];
         hash_value = (hash_value * SEED) + str[i];
      }
   }


   // Hash functor Hash<HKey_T>
   uint 
   operator() (const Key_T &k) const   {   return k.hash_value;   }


   // Comparison functor equal_to<HKey_T>(Left, Right)
   bool 
   operator() (const Key_T &k1, const Key_T &k2) const
   {
      if (k1.hash_value == k2.hash_value)
      {
         for (int i = 0; i < frm_sz; ++i)
         {
            if ( __builtin_expect((k1.key[i] != k2.key[i]), false) )
            {
               //++collision;
               return false;   
            }
         }
         return true;
      }
      return false;
   }
};


// Game's rule: function to update hashtable
template <int hash_len, bool MT, typename Input_T, typename HTable_T>
void 
calculate_frequency(Input_T const &input, HTable_T& hash_table)
{
   hash_table.clear();
   int   const total_length = static_cast<int>(input.size() - hash_len +1);

   typedef typename Input_T::const_pointer   Ite_T;
   Ite_T const   ite_beg   = &(input[0]);
   Ite_T const   ite_end   = &(input[0]) + total_length;

   typename HTable_T::key_type key;

   if (MT)
   {
      static int char_done[hash_len] = {0};
      int const chunk_sz = std::max(512, std::min(1024*1024, total_length / omp_get_num_threads() / 128));
      int ichunk;

      for(int offset = 0; offset < hash_len; ++offset)
      {
         // Fetch task. Each thread hashes a block, which block size = chunk
         while ( (ichunk = __sync_fetch_and_add(char_done + offset, chunk_sz)) < total_length )
         {
            Ite_T ite   = ite_beg + ichunk + offset;
            Ite_T end   = std::min(ite_beg + ichunk + chunk_sz, ite_end);
         
            for (; ite < end; ite += hash_len)
            {
               key.ReHash(ite);
               ++(hash_table[key]);
            }
         }
      }
   }
   else
   {
      for(int offset = 0; offset < hash_len; ++offset)
      {
         for (Ite_T index = ite_beg + offset; index < ite_end; index += hash_len)
         {
            key.ReHash(index);
            ++(hash_table[key]);
         }
      }
   }
}


// Build a hash_table, count all key with hash_len = 1, 2
// write the code and percentage frequency
template <int hash_len, typename Input_T>
void 
write_frequencies(Input_T const &input, std::ostream &output)
{
   typedef Key_T<hash_len>         HKey_T;

   //typedef __gnu_cxx::hash_map <
   //typedef boost::unordered_map <
   typedef __gnu_pbds::cc_hash_table   <
                                 HKey_T,   // key type
                                 uint,   // map type
                                 HKey_T,   // hash functor
                                 HKey_T   // equal_to functor
                              >    HTable_T;


   static HTable_T hash_table[MAX_CORE];

   // parallel hashing. Each thread updates its own hash_table.
   if (omp_get_num_threads() > 1)
      calculate_frequency<hash_len, true>(input, hash_table[omp_get_thread_num()]);
   else
      calculate_frequency<hash_len, false>(input, hash_table[omp_get_thread_num()]);


   // only the last thread, reaching this code block, to process result
   static int thread_passed = 0;
   if (__sync_add_and_fetch(&thread_passed, 1) == omp_get_num_threads())
   {
      // merge thread local results to main hash_table
      HTable_T &merge_table (hash_table[0]);

      for (int i = 1; i < omp_get_num_threads(); ++i)
      {
         foreach (typename HTable_T::value_type const & e, hash_table[i])
            merge_table[e.first] += e.second;
      }
      
   
      typedef std::pair<HKey_T, uint>   HValue_T;
      typedef std::vector<HValue_T>    List_T;

      // Copy results from hash_table to list
      List_T order_table(merge_table.begin(), merge_table.end());

      {
         // Sort with descending frequency
         using namespace boost::lambda;
         std::sort(   order_table.begin(), order_table.end(),
            ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
      }

      float const total_char = static_cast<float>(input.size() - hash_len +1);
      boost::format fmt("%|1$s| %|2$0.3f|\n");

      foreach(typename List_T::value_type &e, order_table)
      {
         e.first.key[hash_len] = 0; // ensure proper null terminated
         boost::to_upper(e.first.key);

         float percent = static_cast<float>(e.second) * 100.0f / total_char;
         fmt % e.first.key % percent;

         output << fmt;
      }

      output << std::endl;
      thread_passed = 0;
   }
}


// Build a hash_table, count all key with hash_len = 3, 4, 6, 12, 18
// Then print a specific sequence's count
template <int hash_len, typename Input_T>
void 
write_frequencies(Input_T const &input, std::ostream &output, char const *specific)
{
   typedef Key_T<hash_len>      HKey_T;
   typedef __gnu_pbds::cc_hash_table   <
                                 HKey_T,   // key type
                                 uint,   // map type
                                 HKey_T,   // hash functor
                                 HKey_T   // equal_to functor
                              >    HTable_T;

   HTable_T local_table;   // private for each thread
   if (omp_get_num_threads() > 1)
      calculate_frequency<hash_len, true>(input, local_table);   // parallel hash
   else
      calculate_frequency<hash_len, false>(input, local_table);   // parallel hash

   // Build hash key for searching
   HKey_T printkey(specific);

   // count how many matched for specific sequence
   static uint total_matched = 0;
   
   {
      // parallel look up
      uint match = local_table[printkey];
      #pragma omp atomic
      total_matched += match;
   }

   // The last thread, reaching this code block, will print result
   static int thread_passed = 0;
   if (__sync_add_and_fetch(&thread_passed, 1) == omp_get_num_threads())
   {
      printkey.key[hash_len] = 0; // null terminated
      boost::to_upper(printkey.key);

      boost::format fmt("%1%\t%2%\n");
      fmt % total_matched % printkey.key;
      output << fmt;

      thread_passed = 0;
      total_matched = 0;
   }
}

int 
GetThreadCount()
{
   cpu_set_t cs;
   CPU_ZERO(&cs);
   sched_getaffinity(0, sizeof(cs), &cs);

   int count = 0;
   for (int i = 0; i < MAX_CORE; ++i)
   {
      if (CPU_ISSET(i, &cs))
         ++count;
   }
   return count;
}

int 
main()
{
   typedef std::vector<char> Input_T;
   Input_T input;
   input.reserve(256*1024*1024); // 256MB

   char buffer[64];

   // rule: read line-by-line
   while (fgets(buffer, sizeof(buffer), stdin))
   {
      if(strncmp(buffer, ">THREE", 6) == 0)
         break;
   }

   std::back_insert_iterator<Input_T> back_ite (input);
   while (fgets(buffer, sizeof(buffer), stdin))
   {
      size_t sz = strlen(buffer);
      if (buffer[sz -1] == '\n')
         --sz;

      std::copy(buffer, buffer + sz, back_ite);
   }

   std::ostringstream output[7];
   #pragma omp parallel num_threads(GetThreadCount()) default(shared)
   {
      write_frequencies<18>( input, output[6], "ggtattttaatttatagt" );
      write_frequencies<12>( input, output[5], "ggtattttaatt" );
      write_frequencies< 6>( input, output[4], "ggtatt" );
      write_frequencies< 4>( input, output[3], "ggta" );
      write_frequencies< 3>( input, output[2], "ggt" );
      write_frequencies< 2>( input, output[1] );
      write_frequencies< 1>( input, output[0] );
   }

   foreach(std::ostringstream const& s, output)
      std::cout << s.str();
      
   return 0;
}

 make, command-line, and program output logs

Mon, 28 Oct 2013 18:23:29 GMT

MAKE:
/usr/bin/g++ -c -pipe -O3 -fomit-frame-pointer -march=native  -std=c++0x knucleotide.c++ -o knucleotide.c++.o &&  \
        /usr/bin/g++ knucleotide.c++.o -o knucleotide.gpp_run -lpthread 
knucleotide.c++: In instantiation of ‘void write_frequencies(const Input_T&, std::ostream&) [with int hash_len = 2; Input_T = std::vector<char>; std::ostream = std::basic_ostream<char>]’:
knucleotide.c++:309:47:   required from here
knucleotide.c++:187:45: error: no match for ‘operator<’ (operand types are ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ and ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<2> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<2> >)>}’)
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
knucleotide.c++:187:45: note: candidates are:
In file included from /usr/include/boost/lambda/lambda.hpp:26:0,
                 from knucleotide.c++:22:
/usr/include/boost/lambda/detail/operators.hpp:121:1: note: template<class Arg, class B> const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::relational_action<boost::lambda::less_action>, boost::tuples::tuple<boost::lambda::lambda_functor<T>, typename boost::lambda::const_copy_argument<const B>::type> > > boost::lambda::operator<(const boost::lambda::lambda_functor<T>&, const B&)
 BOOST_LAMBDA_BE(operator<, relational_action<less_action>, const A, const B, const_copy_argument)
 ^
/usr/include/boost/lambda/detail/operators.hpp:121:1: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const boost::lambda::lambda_functor<T>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/boost/lambda/lambda.hpp:26:0,
                 from knucleotide.c++:22:
/usr/include/boost/lambda/detail/operators.hpp:121:1: note: template<class A, class Arg> const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::relational_action<boost::lambda::less_action>, boost::tuples::tuple<typename boost::lambda::const_copy_argument<const A>::type, boost::lambda::lambda_functor<Arg> > > > boost::lambda::operator<(const A&, const boost::lambda::lambda_functor<Arg>&)
 BOOST_LAMBDA_BE(operator<, relational_action<less_action>, const A, const B, const_copy_argument)
 ^
/usr/include/boost/lambda/detail/operators.hpp:121:1: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<2> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<2> >)>}’ is not derived from ‘const boost::lambda::lambda_functor<Arg>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/boost/lambda/lambda.hpp:26:0,
                 from knucleotide.c++:22:
/usr/include/boost/lambda/detail/operators.hpp:121:1: note: template<class ArgA, class ArgB> const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::relational_action<boost::lambda::less_action>, boost::tuples::tuple<boost::lambda::lambda_functor<T>, boost::lambda::lambda_functor<Arg> > > > boost::lambda::operator<(const boost::lambda::lambda_functor<T>&, const boost::lambda::lambda_functor<Arg>&)
 BOOST_LAMBDA_BE(operator<, relational_action<less_action>, const A, const B, const_copy_argument)
 ^
/usr/include/boost/lambda/detail/operators.hpp:121:1: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const boost::lambda::lambda_functor<T>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/deque:64:0,
                 from /usr/include/boost/detail/container_fwd.hpp:91,
                 from /usr/include/boost/lambda/detail/operator_return_type_traits.hpp:18,
                 from /usr/include/boost/lambda/lambda.hpp:23,
                 from knucleotide.c++:22:
/usr/include/c++/4.8/bits/stl_deque.h:1975:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::deque<_Tp, _Alloc>&, const std::deque<_Tp, _Alloc>&)
     operator<(const deque<_Tp, _Alloc>& __x,
     ^
/usr/include/c++/4.8/bits/stl_deque.h:1975:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::deque<_Tp, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/deque:64:0,
                 from /usr/include/boost/detail/container_fwd.hpp:91,
                 from /usr/include/boost/lambda/detail/operator_return_type_traits.hpp:18,
                 from /usr/include/boost/lambda/lambda.hpp:23,
                 from knucleotide.c++:22:
/usr/include/c++/4.8/bits/stl_deque.h:281:5: note: template<class _Tp, class _RefL, class _PtrL, class _RefR, class _PtrR> bool std::operator<(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _RefR, _PtrR>&)
     operator<(const _Deque_iterator<_Tp, _RefL, _PtrL>& __x,
     ^
/usr/include/c++/4.8/bits/stl_deque.h:281:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::_Deque_iterator<_Tp, _Ref, _Ptr>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/deque:64:0,
                 from /usr/include/boost/detail/container_fwd.hpp:91,
                 from /usr/include/boost/lambda/detail/operator_return_type_traits.hpp:18,
                 from /usr/include/boost/lambda/lambda.hpp:23,
                 from knucleotide.c++:22:
/usr/include/c++/4.8/bits/stl_deque.h:273:5: note: template<class _Tp, class _Ref, class _Ptr> bool std::operator<(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&)
     operator<(const _Deque_iterator<_Tp, _Ref, _Ptr>& __x,
     ^
/usr/include/c++/4.8/bits/stl_deque.h:273:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::_Deque_iterator<_Tp, _Ref, _Ptr>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/list:63:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp:46,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/container_base_dispatch.hpp:73,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:48,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/stl_list.h:1631:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::list<_Tp, _Alloc>&, const std::list<_Tp, _Alloc>&)
     operator<(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
     ^
/usr/include/c++/4.8/bits/stl_list.h:1631:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::list<_Tp, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/set:62:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp:42,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/container_base_dispatch.hpp:70,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:48,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/stl_multiset.h:756:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator<(const std::multiset<_Key, _Compare, _Alloc>&, const std::multiset<_Key, _Compare, _Alloc>&)
     operator<(const multiset<_Key, _Compare, _Alloc>& __x,
     ^
/usr/include/c++/4.8/bits/stl_multiset.h:756:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::multiset<_Key, _Compare, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/set:61:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp:42,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/container_base_dispatch.hpp:70,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:48,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/stl_set.h:771:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator<(const std::set<_Key, _Compare, _Alloc>&, const std::set<_Key, _Compare, _Alloc>&)
     operator<(const set<_Key, _Compare, _Alloc>& __x,
     ^
/usr/include/c++/4.8/bits/stl_set.h:771:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::set<_Key, _Compare, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/map:62:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp:41,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/container_base_dispatch.hpp:70,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:48,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/stl_multimap.h:881:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator<(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
     operator<(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
     ^
/usr/include/c++/4.8/bits/stl_multimap.h:881:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/map:61:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp:41,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/container_base_dispatch.hpp:70,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:48,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/stl_map.h:979:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator<(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
     operator<(const map<_Key, _Tp, _Compare, _Alloc>& __x,
     ^
/usr/include/c++/4.8/bits/stl_map.h:979:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/map:60:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp:41,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/container_base_dispatch.hpp:70,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:48,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/stl_tree.h:917:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator<(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
     operator<(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
     ^
/usr/include/c++/4.8/bits/stl_tree.h:917:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/memory:82:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/shared_ptr.h:373:5: note: template<class _Tp> bool std::operator<(std::nullptr_t, const std::shared_ptr<_Tp1>&)
     operator<(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
     ^
/usr/include/c++/4.8/bits/shared_ptr.h:373:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   cannot convert ‘std::bind(_Func&&, _BoundArgs&& ...) [with _Func = unsigned int std::pair<Key_T<2>, unsigned int>::*; _BoundArgs = {const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&}; typename std::_Bind_helper<std::__or_<std::is_integral<typename std::decay<_Tp>::type>, std::is_enum<typename std::decay<_Tp>::type> >::value, _Func, _BoundArgs ...>::type = std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>]((* & boost::lambda::{anonymous}::_1))’ (type ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’) to type ‘std::nullptr_t’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/memory:82:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/shared_ptr.h:368:5: note: template<class _Tp> bool std::operator<(const std::shared_ptr<_Tp1>&, std::nullptr_t)
     operator<(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
     ^
/usr/include/c++/4.8/bits/shared_ptr.h:368:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::shared_ptr<_Tp1>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/memory:82:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/shared_ptr.h:359:5: note: template<class _Tp1, class _Tp2> bool std::operator<(const std::shared_ptr<_Tp1>&, const std::shared_ptr<_Tp2>&)
     operator<(const shared_ptr<_Tp1>& __a,
     ^
/usr/include/c++/4.8/bits/shared_ptr.h:359:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::shared_ptr<_Tp1>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
                 from /usr/include/c++/4.8/memory:82,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/shared_ptr_base.h:1104:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator<(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&)
     operator<(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
     ^
/usr/include/c++/4.8/bits/shared_ptr_base.h:1104:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   cannot convert ‘std::bind(_Func&&, _BoundArgs&& ...) [with _Func = unsigned int std::pair<Key_T<2>, unsigned int>::*; _BoundArgs = {const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&}; typename std::_Bind_helper<std::__or_<std::is_integral<typename std::decay<_Tp>::type>, std::is_enum<typename std::decay<_Tp>::type> >::value, _Func, _BoundArgs ...>::type = std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>]((* & boost::lambda::{anonymous}::_1))’ (type ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’) to type ‘std::nullptr_t’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
                 from /usr/include/c++/4.8/memory:82,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/shared_ptr_base.h:1099:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator<(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t)
     operator<(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
     ^
/usr/include/c++/4.8/bits/shared_ptr_base.h:1099:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
                 from /usr/include/c++/4.8/memory:82,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/shared_ptr_base.h:1090:5: note: template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator<(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&)
     operator<(const __shared_ptr<_Tp1, _Lp>& __a,
     ^
/usr/include/c++/4.8/bits/shared_ptr_base.h:1090:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/memory:81:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/unique_ptr.h:540:5: note: template<class _Tp, class _Dp> bool std::operator<(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)
     operator<(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
     ^
/usr/include/c++/4.8/bits/unique_ptr.h:540:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   cannot convert ‘std::bind(_Func&&, _BoundArgs&& ...) [with _Func = unsigned int std::pair<Key_T<2>, unsigned int>::*; _BoundArgs = {const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&}; typename std::_Bind_helper<std::__or_<std::is_integral<typename std::decay<_Tp>::type>, std::is_enum<typename std::decay<_Tp>::type> >::value, _Func, _BoundArgs ...>::type = std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>]((* & boost::lambda::{anonymous}::_1))’ (type ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’) to type ‘std::nullptr_t’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/memory:81:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/unique_ptr.h:534:5: note: template<class _Tp, class _Dp> bool std::operator<(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)
     operator<(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
     ^
/usr/include/c++/4.8/bits/unique_ptr.h:534:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/memory:81:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/unique_ptr.h:523:5: note: template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator<(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)
     operator<(const unique_ptr<_Tp, _Dp>& __x,
     ^
/usr/include/c++/4.8/bits/unique_ptr.h:523:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/functional:55:0,
                 from /usr/include/c++/4.8/bits/stl_algo.h:66,
                 from /usr/include/c++/4.8/algorithm:62,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/tuple:822:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator<(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
     operator<(const tuple<_TElements...>& __t,
     ^
/usr/include/c++/4.8/tuple:822:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::tuple<_Elements ...>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/tuple:39:0,
                 from /usr/include/c++/4.8/functional:55,
                 from /usr/include/c++/4.8/bits/stl_algo.h:66,
                 from /usr/include/c++/4.8/algorithm:62,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/array:238:5: note: template<class _Tp, unsigned int _Nm> bool std::operator<(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
     operator<(const array<_Tp, _Nm>& __a, const array<_Tp, _Nm>& __b)
     ^
/usr/include/c++/4.8/array:238:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::array<_Tp, _Nm>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/vector:64:0,
                 from /usr/include/c++/4.8/bits/random.h:34,
                 from /usr/include/c++/4.8/random:50,
                 from /usr/include/c++/4.8/bits/stl_algo.h:65,
                 from /usr/include/c++/4.8/algorithm:62,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/stl_vector.h:1420:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
     operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
     ^
/usr/include/c++/4.8/bits/stl_vector.h:1420:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::vector<_Tp, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/string:52:0,
                 from /usr/include/c++/4.8/random:41,
                 from /usr/include/c++/4.8/bits/stl_algo.h:65,
                 from /usr/include/c++/4.8/algorithm:62,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/basic_string.h:2593:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
     operator<(const _CharT* __lhs,
     ^
/usr/include/c++/4.8/bits/basic_string.h:2593:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   mismatched types ‘const _CharT*’ and ‘std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/string:52:0,
                 from /usr/include/c++/4.8/random:41,
                 from /usr/include/c++/4.8/bits/stl_algo.h:65,
                 from /usr/include/c++/4.8/algorithm:62,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/basic_string.h:2581:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
     operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^
/usr/include/c++/4.8/bits/basic_string.h:2581:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/string:52:0,
                 from /usr/include/c++/4.8/random:41,
                 from /usr/include/c++/4.8/bits/stl_algo.h:65,
                 from /usr/include/c++/4.8/algorithm:62,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/basic_string.h:2569:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
     operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^
/usr/include/c++/4.8/bits/basic_string.h:2569:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/stl_iterator.h:1061:5: note: template<class _Iterator> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
     operator<(const move_iterator<_Iterator>& __x,
     ^
/usr/include/c++/4.8/bits/stl_iterator.h:1061:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::move_iterator<_Iterator>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/stl_iterator.h:1055:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
     operator<(const move_iterator<_IteratorL>& __x,
     ^
/usr/include/c++/4.8/bits/stl_iterator.h:1055:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::move_iterator<_Iterator>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/stl_iterator.h:347:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator<(const reverse_iterator<_IteratorL>& __x,
     ^
/usr/include/c++/4.8/bits/stl_iterator.h:347:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/stl_iterator.h:297:5: note: template<class _Iterator> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
     operator<(const reverse_iterator<_Iterator>& __x,
     ^
/usr/include/c++/4.8/bits/stl_iterator.h:297:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/utility:70:0,
                 from /usr/include/c++/4.8/algorithm:60,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/stl_pair.h:220:5: note: template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
     operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
     ^
/usr/include/c++/4.8/bits/stl_pair.h:220:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<2>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<2>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::pair<_T1, _T2>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
knucleotide.c++: In instantiation of ‘void write_frequencies(const Input_T&, std::ostream&) [with int hash_len = 1; Input_T = std::vector<char>; std::ostream = std::basic_ostream<char>]’:
knucleotide.c++:310:47:   required from here
knucleotide.c++:187:45: error: no match for ‘operator<’ (operand types are ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ and ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<2> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<2> >)>}’)
knucleotide.c++:187:45: note: candidates are:
In file included from /usr/include/boost/lambda/lambda.hpp:26:0,
                 from knucleotide.c++:22:
/usr/include/boost/lambda/detail/operators.hpp:121:1: note: template<class Arg, class B> const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::relational_action<boost::lambda::less_action>, boost::tuples::tuple<boost::lambda::lambda_functor<T>, typename boost::lambda::const_copy_argument<const B>::type> > > boost::lambda::operator<(const boost::lambda::lambda_functor<T>&, const B&)
 BOOST_LAMBDA_BE(operator<, relational_action<less_action>, const A, const B, const_copy_argument)
 ^
/usr/include/boost/lambda/detail/operators.hpp:121:1: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const boost::lambda::lambda_functor<T>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/boost/lambda/lambda.hpp:26:0,
                 from knucleotide.c++:22:
/usr/include/boost/lambda/detail/operators.hpp:121:1: note: template<class A, class Arg> const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::relational_action<boost::lambda::less_action>, boost::tuples::tuple<typename boost::lambda::const_copy_argument<const A>::type, boost::lambda::lambda_functor<Arg> > > > boost::lambda::operator<(const A&, const boost::lambda::lambda_functor<Arg>&)
 BOOST_LAMBDA_BE(operator<, relational_action<less_action>, const A, const B, const_copy_argument)
 ^
/usr/include/boost/lambda/detail/operators.hpp:121:1: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<2> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<2> >)>}’ is not derived from ‘const boost::lambda::lambda_functor<Arg>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/boost/lambda/lambda.hpp:26:0,
                 from knucleotide.c++:22:
/usr/include/boost/lambda/detail/operators.hpp:121:1: note: template<class ArgA, class ArgB> const boost::lambda::lambda_functor<boost::lambda::lambda_functor_base<boost::lambda::relational_action<boost::lambda::less_action>, boost::tuples::tuple<boost::lambda::lambda_functor<T>, boost::lambda::lambda_functor<Arg> > > > boost::lambda::operator<(const boost::lambda::lambda_functor<T>&, const boost::lambda::lambda_functor<Arg>&)
 BOOST_LAMBDA_BE(operator<, relational_action<less_action>, const A, const B, const_copy_argument)
 ^
/usr/include/boost/lambda/detail/operators.hpp:121:1: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const boost::lambda::lambda_functor<T>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/deque:64:0,
                 from /usr/include/boost/detail/container_fwd.hpp:91,
                 from /usr/include/boost/lambda/detail/operator_return_type_traits.hpp:18,
                 from /usr/include/boost/lambda/lambda.hpp:23,
                 from knucleotide.c++:22:
/usr/include/c++/4.8/bits/stl_deque.h:1975:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::deque<_Tp, _Alloc>&, const std::deque<_Tp, _Alloc>&)
     operator<(const deque<_Tp, _Alloc>& __x,
     ^
/usr/include/c++/4.8/bits/stl_deque.h:1975:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::deque<_Tp, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/deque:64:0,
                 from /usr/include/boost/detail/container_fwd.hpp:91,
                 from /usr/include/boost/lambda/detail/operator_return_type_traits.hpp:18,
                 from /usr/include/boost/lambda/lambda.hpp:23,
                 from knucleotide.c++:22:
/usr/include/c++/4.8/bits/stl_deque.h:281:5: note: template<class _Tp, class _RefL, class _PtrL, class _RefR, class _PtrR> bool std::operator<(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _RefR, _PtrR>&)
     operator<(const _Deque_iterator<_Tp, _RefL, _PtrL>& __x,
     ^
/usr/include/c++/4.8/bits/stl_deque.h:281:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::_Deque_iterator<_Tp, _Ref, _Ptr>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/deque:64:0,
                 from /usr/include/boost/detail/container_fwd.hpp:91,
                 from /usr/include/boost/lambda/detail/operator_return_type_traits.hpp:18,
                 from /usr/include/boost/lambda/lambda.hpp:23,
                 from knucleotide.c++:22:
/usr/include/c++/4.8/bits/stl_deque.h:273:5: note: template<class _Tp, class _Ref, class _Ptr> bool std::operator<(const std::_Deque_iterator<_Tp, _Ref, _Ptr>&, const std::_Deque_iterator<_Tp, _Ref, _Ptr>&)
     operator<(const _Deque_iterator<_Tp, _Ref, _Ptr>& __x,
     ^
/usr/include/c++/4.8/bits/stl_deque.h:273:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::_Deque_iterator<_Tp, _Ref, _Ptr>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/list:63:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/pat_trie_/pat_trie_.hpp:46,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/container_base_dispatch.hpp:73,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:48,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/stl_list.h:1631:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::list<_Tp, _Alloc>&, const std::list<_Tp, _Alloc>&)
     operator<(const list<_Tp, _Alloc>& __x, const list<_Tp, _Alloc>& __y)
     ^
/usr/include/c++/4.8/bits/stl_list.h:1631:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::list<_Tp, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/set:62:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp:42,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/container_base_dispatch.hpp:70,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:48,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/stl_multiset.h:756:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator<(const std::multiset<_Key, _Compare, _Alloc>&, const std::multiset<_Key, _Compare, _Alloc>&)
     operator<(const multiset<_Key, _Compare, _Alloc>& __x,
     ^
/usr/include/c++/4.8/bits/stl_multiset.h:756:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::multiset<_Key, _Compare, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/set:61:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp:42,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/container_base_dispatch.hpp:70,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:48,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/stl_set.h:771:5: note: template<class _Key, class _Compare, class _Alloc> bool std::operator<(const std::set<_Key, _Compare, _Alloc>&, const std::set<_Key, _Compare, _Alloc>&)
     operator<(const set<_Key, _Compare, _Alloc>& __x,
     ^
/usr/include/c++/4.8/bits/stl_set.h:771:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::set<_Key, _Compare, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/map:62:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp:41,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/container_base_dispatch.hpp:70,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:48,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/stl_multimap.h:881:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator<(const std::multimap<_Key, _Tp, _Compare, _Alloc>&, const std::multimap<_Key, _Tp, _Compare, _Alloc>&)
     operator<(const multimap<_Key, _Tp, _Compare, _Alloc>& __x,
     ^
/usr/include/c++/4.8/bits/stl_multimap.h:881:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::multimap<_Key, _Tp, _Compare, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/map:61:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp:41,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/container_base_dispatch.hpp:70,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:48,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/stl_map.h:979:5: note: template<class _Key, class _Tp, class _Compare, class _Alloc> bool std::operator<(const std::map<_Key, _Tp, _Compare, _Alloc>&, const std::map<_Key, _Tp, _Compare, _Alloc>&)
     operator<(const map<_Key, _Tp, _Compare, _Alloc>& __x,
     ^
/usr/include/c++/4.8/bits/stl_map.h:979:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::map<_Key, _Tp, _Compare, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/map:60:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/ov_tree_map_/ov_tree_map_.hpp:41,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/container_base_dispatch.hpp:70,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:48,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/stl_tree.h:917:5: note: template<class _Key, class _Val, class _KeyOfValue, class _Compare, class _Alloc> bool std::operator<(const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&, const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>&)
     operator<(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x,
     ^
/usr/include/c++/4.8/bits/stl_tree.h:917:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/memory:82:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/shared_ptr.h:373:5: note: template<class _Tp> bool std::operator<(std::nullptr_t, const std::shared_ptr<_Tp1>&)
     operator<(nullptr_t, const shared_ptr<_Tp>& __a) noexcept
     ^
/usr/include/c++/4.8/bits/shared_ptr.h:373:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   cannot convert ‘std::bind(_Func&&, _BoundArgs&& ...) [with _Func = unsigned int std::pair<Key_T<1>, unsigned int>::*; _BoundArgs = {const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&}; typename std::_Bind_helper<std::__or_<std::is_integral<typename std::decay<_Tp>::type>, std::is_enum<typename std::decay<_Tp>::type> >::value, _Func, _BoundArgs ...>::type = std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>]((* & boost::lambda::{anonymous}::_1))’ (type ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’) to type ‘std::nullptr_t’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/memory:82:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/shared_ptr.h:368:5: note: template<class _Tp> bool std::operator<(const std::shared_ptr<_Tp1>&, std::nullptr_t)
     operator<(const shared_ptr<_Tp>& __a, nullptr_t) noexcept
     ^
/usr/include/c++/4.8/bits/shared_ptr.h:368:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::shared_ptr<_Tp1>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/memory:82:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/shared_ptr.h:359:5: note: template<class _Tp1, class _Tp2> bool std::operator<(const std::shared_ptr<_Tp1>&, const std::shared_ptr<_Tp2>&)
     operator<(const shared_ptr<_Tp1>& __a,
     ^
/usr/include/c++/4.8/bits/shared_ptr.h:359:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::shared_ptr<_Tp1>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
                 from /usr/include/c++/4.8/memory:82,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/shared_ptr_base.h:1104:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator<(std::nullptr_t, const std::__shared_ptr<_Tp, _Lp>&)
     operator<(nullptr_t, const __shared_ptr<_Tp, _Lp>& __a) noexcept
     ^
/usr/include/c++/4.8/bits/shared_ptr_base.h:1104:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   cannot convert ‘std::bind(_Func&&, _BoundArgs&& ...) [with _Func = unsigned int std::pair<Key_T<1>, unsigned int>::*; _BoundArgs = {const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&}; typename std::_Bind_helper<std::__or_<std::is_integral<typename std::decay<_Tp>::type>, std::is_enum<typename std::decay<_Tp>::type> >::value, _Func, _BoundArgs ...>::type = std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>]((* & boost::lambda::{anonymous}::_1))’ (type ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’) to type ‘std::nullptr_t’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
                 from /usr/include/c++/4.8/memory:82,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/shared_ptr_base.h:1099:5: note: template<class _Tp, __gnu_cxx::_Lock_policy _Lp> bool std::operator<(const std::__shared_ptr<_Tp, _Lp>&, std::nullptr_t)
     operator<(const __shared_ptr<_Tp, _Lp>& __a, nullptr_t) noexcept
     ^
/usr/include/c++/4.8/bits/shared_ptr_base.h:1099:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::__shared_ptr<_Tp, _Lp>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/shared_ptr.h:52:0,
                 from /usr/include/c++/4.8/memory:82,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/shared_ptr_base.h:1090:5: note: template<class _Tp1, class _Tp2, __gnu_cxx::_Lock_policy _Lp> bool std::operator<(const std::__shared_ptr<_Tp1, _Lp>&, const std::__shared_ptr<_Tp2, _Lp>&)
     operator<(const __shared_ptr<_Tp1, _Lp>& __a,
     ^
/usr/include/c++/4.8/bits/shared_ptr_base.h:1090:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::__shared_ptr<_Tp1, _Lp>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/memory:81:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/unique_ptr.h:540:5: note: template<class _Tp, class _Dp> bool std::operator<(std::nullptr_t, const std::unique_ptr<_Tp, _Dp>&)
     operator<(nullptr_t, const unique_ptr<_Tp, _Dp>& __x)
     ^
/usr/include/c++/4.8/bits/unique_ptr.h:540:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   cannot convert ‘std::bind(_Func&&, _BoundArgs&& ...) [with _Func = unsigned int std::pair<Key_T<1>, unsigned int>::*; _BoundArgs = {const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&}; typename std::_Bind_helper<std::__or_<std::is_integral<typename std::decay<_Tp>::type>, std::is_enum<typename std::decay<_Tp>::type> >::value, _Func, _BoundArgs ...>::type = std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>]((* & boost::lambda::{anonymous}::_1))’ (type ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’) to type ‘std::nullptr_t’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/memory:81:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/unique_ptr.h:534:5: note: template<class _Tp, class _Dp> bool std::operator<(const std::unique_ptr<_Tp, _Dp>&, std::nullptr_t)
     operator<(const unique_ptr<_Tp, _Dp>& __x, nullptr_t)
     ^
/usr/include/c++/4.8/bits/unique_ptr.h:534:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/memory:81:0,
                 from /usr/include/c++/4.8/ext/pb_ds/detail/standard_policies.hpp:44,
                 from /usr/include/c++/4.8/ext/pb_ds/assoc_container.hpp:47,
                 from knucleotide.c++:18:
/usr/include/c++/4.8/bits/unique_ptr.h:523:5: note: template<class _Tp, class _Dp, class _Up, class _Ep> bool std::operator<(const std::unique_ptr<_Tp, _Dp>&, const std::unique_ptr<_Up, _Ep>&)
     operator<(const unique_ptr<_Tp, _Dp>& __x,
     ^
/usr/include/c++/4.8/bits/unique_ptr.h:523:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::unique_ptr<_Tp, _Dp>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/functional:55:0,
                 from /usr/include/c++/4.8/bits/stl_algo.h:66,
                 from /usr/include/c++/4.8/algorithm:62,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/tuple:822:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator<(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
     operator<(const tuple<_TElements...>& __t,
     ^
/usr/include/c++/4.8/tuple:822:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::tuple<_Elements ...>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/tuple:39:0,
                 from /usr/include/c++/4.8/functional:55,
                 from /usr/include/c++/4.8/bits/stl_algo.h:66,
                 from /usr/include/c++/4.8/algorithm:62,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/array:238:5: note: template<class _Tp, unsigned int _Nm> bool std::operator<(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
     operator<(const array<_Tp, _Nm>& __a, const array<_Tp, _Nm>& __b)
     ^
/usr/include/c++/4.8/array:238:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::array<_Tp, _Nm>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/vector:64:0,
                 from /usr/include/c++/4.8/bits/random.h:34,
                 from /usr/include/c++/4.8/random:50,
                 from /usr/include/c++/4.8/bits/stl_algo.h:65,
                 from /usr/include/c++/4.8/algorithm:62,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/stl_vector.h:1420:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
     operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
     ^
/usr/include/c++/4.8/bits/stl_vector.h:1420:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::vector<_Tp, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/string:52:0,
                 from /usr/include/c++/4.8/random:41,
                 from /usr/include/c++/4.8/bits/stl_algo.h:65,
                 from /usr/include/c++/4.8/algorithm:62,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/basic_string.h:2593:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
     operator<(const _CharT* __lhs,
     ^
/usr/include/c++/4.8/bits/basic_string.h:2593:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   mismatched types ‘const _CharT*’ and ‘std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/string:52:0,
                 from /usr/include/c++/4.8/random:41,
                 from /usr/include/c++/4.8/bits/stl_algo.h:65,
                 from /usr/include/c++/4.8/algorithm:62,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/basic_string.h:2581:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
     operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^
/usr/include/c++/4.8/bits/basic_string.h:2581:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/string:52:0,
                 from /usr/include/c++/4.8/random:41,
                 from /usr/include/c++/4.8/bits/stl_algo.h:65,
                 from /usr/include/c++/4.8/algorithm:62,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/basic_string.h:2569:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
     operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
     ^
/usr/include/c++/4.8/bits/basic_string.h:2569:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::basic_string<_CharT, _Traits, _Alloc>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/stl_iterator.h:1061:5: note: template<class _Iterator> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&)
     operator<(const move_iterator<_Iterator>& __x,
     ^
/usr/include/c++/4.8/bits/stl_iterator.h:1061:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::move_iterator<_Iterator>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/stl_iterator.h:1055:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
     operator<(const move_iterator<_IteratorL>& __x,
     ^
/usr/include/c++/4.8/bits/stl_iterator.h:1055:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::move_iterator<_Iterator>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/stl_iterator.h:347:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
     operator<(const reverse_iterator<_IteratorL>& __x,
     ^
/usr/include/c++/4.8/bits/stl_iterator.h:347:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:67:0,
                 from /usr/include/c++/4.8/algorithm:61,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/stl_iterator.h:297:5: note: template<class _Iterator> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
     operator<(const reverse_iterator<_Iterator>& __x,
     ^
/usr/include/c++/4.8/bits/stl_iterator.h:297:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::reverse_iterator<_Iterator>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
In file included from /usr/include/c++/4.8/utility:70:0,
                 from /usr/include/c++/4.8/algorithm:60,
                 from knucleotide.c++:10:
/usr/include/c++/4.8/bits/stl_pair.h:220:5: note: template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
     operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
     ^
/usr/include/c++/4.8/bits/stl_pair.h:220:5: note:   template argument deduction/substitution failed:
knucleotide.c++:187:45: note:   ‘std::_Bind_helper<false, unsigned int std::pair<Key_T<1>, unsigned int>::*, const boost::lambda::lambda_functor<boost::lambda::placeholder<1> >&>::type {aka std::_Bind<std::_Mem_fn<unsigned int std::pair<Key_T<1>, unsigned int>::*>(boost::lambda::lambda_functor<boost::lambda::placeholder<1> >)>}’ is not derived from ‘const std::pair<_T1, _T2>’
             ( !(bind(&HValue_T::second, _1) < bind(&HValue_T::second, _2)) )   );
                                             ^
make: [knucleotide.gpp_run] Error 1 (ignored)
rm knucleotide.c++
3.41s to complete and log all make actions

COMMAND LINE:
./knucleotide.gpp_run 0 < knucleotide-input250000.txt

MAKE ERROR 

Revised BSD license

  Home   Conclusions   License   Play