C
Chris Forone
hello group,
whats wrong with following static member template:
class x
{
template<typename InputIterator, typename std::valarray<char>&>
static void Copy(InputIterator file, std::valarray<char>& store);
};
if i call:
Copy(std::istreambuf_iterator<char>(file), meta);
where meta = std::valarray<char> meta(20);
i get a no matching function error...
thanks & hand, chris
whats wrong with following static member template:
class x
{
template<typename InputIterator, typename std::valarray<char>&>
static void Copy(InputIterator file, std::valarray<char>& store);
};
if i call:
Copy(std::istreambuf_iterator<char>(file), meta);
where meta = std::valarray<char> meta(20);
i get a no matching function error...
thanks & hand, chris