A
antoniogarcar
Hi all,
I have a short question. The following program does not compile using g++4.6.3, ¿why?
#include <list>
template <class T>
void empty (typename std::list<T>::iterator it)
{}
int main()
{
std::list<int> l;
empty(l.begin());
}
I have a short question. The following program does not compile using g++4.6.3, ¿why?
#include <list>
template <class T>
void empty (typename std::list<T>::iterator it)
{}
int main()
{
std::list<int> l;
empty(l.begin());
}