|
Boost Users : |
Subject: Re: [Boost-users] boost::intrusive::slist push_back() => error: static assertion failed:
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2015-05-11 16:09:01
El 11/05/2015 a las 9:50, Jonas Printzén escribió:
> slist under
> "Using base hooks
> <http://www.boost.org/doc/libs/1_55_0/doc/html/intrusive/usage.html#intrusive.usage.usage_base_hook>"
> shows example with push_back() without mentioning cache_last. Mabey it
> should be push_front() in that example?
That page shows a hook for a doubly linked lists
("boost::intrusive::list", which can push_back and front. cache_last is
only for the singly linked list ("boost::intrusive::slist")
Best,
Ion
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