This following code doesn't want to compile:
#include <list>
int main()
{
std::list<int *&> l;
return 0;
}
It's a *& and not only a *. Why ? Ho hell why this doesn't work ? I tried to look for an answer on the internet but no way to get something relevant. Could you help please ?
Have a good day !