Added comments

This commit is contained in:
Sergey Petrunya 2012-02-16 18:56:10 +04:00
parent 607aab9c1d
commit e98e05da7a

View File

@ -257,7 +257,12 @@ public:
last= &first; last= &first;
return tmp->info; return tmp->info;
} }
inline void disjoin(base_list *list) /*
Remove from this list elements that are contained in the passed list.
We assume that the passed list is a tail of this list (that is, the whole
list_node* elements are shared).
*/
inline void disjoin(const base_list *list)
{ {
list_node **prev= &first; list_node **prev= &first;
list_node *node= first; list_node *node= first;