00001 #ifndef NMWR_GB_DUMMY_CONTAINER_H 00002 #define NMWR_GB_DUMMY_CONTAINER_H 00003 00004 00005 // $LICENSE 00006 00012 template<class T> 00013 class dummy_container { 00014 public: 00015 typedef T value_type; 00016 typedef T* pointer; 00017 typedef T& reference; 00018 typedef T* iterator; 00019 typedef T* const_iterator; 00020 typedef size_t size_type; 00021 00022 dummy_container() {} 00023 00024 iterator begin() { return (T*)0;} 00025 iterator end () { return (T*)0;} 00026 const_iterator begin() const { return (T*)0;} 00027 const_iterator end () const { return (T*)0;} 00028 00029 size_type size() const { return 0;} 00030 00031 void push_back(T const&) const {} 00032 }; 00033 00034 #endif 00035