Boost logo

Boost Users :

Subject: Re: [Boost-users] help boost multi_index_container + composite key
From: Igor R (boost.lists_at_[hidden])
Date: 2011-11-23 06:46:54


>     Elem_entry(const Elem_entry &obj){/*std::cout<<"copy
> const"<<std::endl;*/}

You should implement the copy-contructor correctly. Currently any
copied item has uninitialized members, which breaks all the indices.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net