remove TODO comment
This commit is contained in:
parent
73d6bc8380
commit
2382dd8d61
|
@ -37,7 +37,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
namespace libtorrent
|
namespace libtorrent
|
||||||
{
|
{
|
||||||
// TODO: 3 enable_if T derives from list_node<T>
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
struct list_node
|
struct list_node
|
||||||
{
|
{
|
||||||
|
@ -65,6 +64,8 @@ namespace libtorrent
|
||||||
};
|
};
|
||||||
|
|
||||||
// TOOD: 3 add a unit test
|
// TOOD: 3 add a unit test
|
||||||
|
// T must derive from list_node<T>. Having an enable_if here would require T
|
||||||
|
// to be a complete type, which is a bit too restrictive.
|
||||||
template <typename T>
|
template <typename T>
|
||||||
struct linked_list
|
struct linked_list
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue