You were right.
> The thing is that I instanciated an ArrayList object and called the "insert"Maybe ObjectA has a member of type boost::mutex?
> method and I received an error from boost::mutex AND boost::noncopyable!!
> and I am not using them at all!!
> This is the code that generates the error:
> ArrayList<ObjectA> myArrayListA;
> ObjectA myObjectA;
> myArrayListA.insert(myObjectA);
insert() invokes compiler-generated copy-constructor of ObjectA, which
in turn tries to copy the mutex.
In short, you ObjectA is non-copyable.
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users