Rudiments
|
00001 // Copyright (c) 2003 David Muse 00002 // See the COPYING file for more information. 00003 00004 #ifndef RUDIMENTS_LINKEDLIST_UTIL_H 00005 #define RUDIMENTS_LINKEDLIST_UTIL_H 00006 00007 #include <rudiments/private/inttypes.h> 00008 00009 #ifdef RUDIMENTS_NAMESPACE 00010 namespace rudiments { 00011 #endif 00012 00013 template <class datatype> 00014 class linkedlistutil { 00015 public: 00016 void print(datatype data) const; 00017 int32_t compare(datatype data1, datatype data2) const; 00018 }; 00019 00020 #ifdef RUDIMENTS_NAMESPACE 00021 } 00022 #endif 00023 00024 #include <rudiments/private/linkedlistutilinlines.h> 00025 00026 #endif