so basically i have a row class which stores a list of characters as a doubly linked list
and i have a maze class which i want to store row objects as a doubly linked list
below is the error i get which i have no clue about
1>c:\program files\microsoft visual studio 9.0\vc\include\xmemory(52) : error C2558: class 'row' : no copy constructor available or copy constructor is declared 'explicit'
which takes me to somewhere in a STL template and thats where i lose it :(
i figured out what the problem is but dont know how to solve...
its when i declare a row object in the main...it doesnt know which constructor to call..thnx to g++ compiler it said candidates:row and row(&row)...the default or the copy....it should be clear that im calling the default constructor since im doing
row rows;
my program works fine if i kill the copy constructor but still im curious