6 #ifdef GTKMM_CXX_HAVE_PARTIAL_SPECIALIZATION
37 template<
class C_Obj,
class Cpp_Obj>
41 typedef List_Iterator<C_Obj,Cpp_Obj>
self;
48 self& operator=(
const self& x)
55 {
return node == x.node; }
56 bool operator!=(
const self& x)
const
57 {
return node != x.node; }
59 List_Iterator(GList *n) : node(n),cache(0)
61 List_Iterator() :node(0),cache(0)
63 List_Iterator(
const self& x)
64 : node(x.node),cache(0)
67 Cpp_Obj& operator*()
const
70 {
if (cache.gobj()!=node->data)
71 cache=Cpp_Obj(node->data);
79 Cpp_Obj* operator->()
const
81 return &(operator*());
87 if (node && node->next)
102 if (node && node->prev)
bool operator==(const ProcessorSelection &a, const ProcessorSelection &b)