Commit fb7be527 authored by konstantin@mysql.com's avatar konstantin@mysql.com

Add a comment about I_List<> copy constructor.

parent c75cfc35
......@@ -426,9 +426,14 @@ struct ilink
template <class T> class I_List_iterator;
/*
WARNING: copy constructor of this class does not create a usable
copy, as its members may point at each other.
*/
class base_ilist
{
public:
public:
struct ilink *first,last;
inline void empty() { first= &last; last.prev= &first; }
base_ilist() { empty(); }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment