hi all,
i'm trying to use the intrusive library but can't compile anything.
i also tried member_hook's and the slist instead of list but it fails
with the same error.
any ideas on how to fix this?
#include
struct foo :
public list_base_hook<>
{
};
void
dummy( void )
{
list<foo> l;
}
1>..\..\include\boost\intrusive\list.hpp(1435): illegal non-type
template argument
1>..\..\include\boost\intrusive\list.hpp(1435): (point of
instantiation: 'dummy()')
1>..\..\include\boost\intrusive\list.hpp(1435): (instantiating:
'boost::intrusive::list')
1>..\..\include\boost\intrusive\list.hpp(1435): (instantiating:
'boost::intrusive::list_impl, 1,
boost::intrusive::default_tag, 1>, unsigned long, true>>')
1>..\..\include\boost\intrusive\list.hpp(1435): note: (corresponding
point of instantiation for
'boost::intrusive::list_impl, 1,
boost::intrusive::default_tag, 1>, unsigned long, true>>')
1>..\src\main.cpp(15): note: (corresponding point of instantiation
for 'boost::intrusive::list')
compiler:
metrowerks c/c++ for embedded arm version 3.0 build 138
(it's the compiler for the nintendo ds platform)
boost version:
1.35 + 1.36
--
regards,
dave