Peter S Galbraith wrote:

The following (template instantiations), lines 48 and 49 of a file
(which attached in full)

template.cc:48: non-template used as template
template.cc:49: non-template used as template

------------------------------------------------------------------------
#include <stdio.h>

Nit: #include <cstdio>


// Instantiate on GNU c++ compiler
template void  reverse(std::vector<double>::iterator, 
std::vector<double>::iterator);
template void  sort(std::vector<double>::iterator, 
std::vector<double>::iterator);

Perhaps you mean std::sort and std::reverse?

-Dave

--

"Some little people have music in them, but Fats, he was all music,
and you know how big he was."  --  James P. Johnson




Reply via email to