Templates -- Meow
1.1.2
不能,也不應該先編譯成obj-file的templates
|
類似 stl
的 iterator
,不過這邊叫做Element
More...
#include "SplayTree.h"
Public Member Functions | |
Element () | |
Element (Node *node) | |
Element (Element const &element2) | |
~Element () | |
Element & | copyFrom (Element const &e) |
複製資料 More... | |
bool | same (Element const &e2) const |
比對兩者是否為指向同一個Entry More... | |
Element & | operator= (Element const &e2) |
same as copyFrom More... | |
Entry * | operator-> () |
重導至std::pair<Key const& ,Value&>* More... | |
Entry & | operator* () |
重導至std::pair<Key const& ,Value&>& More... | |
bool | operator== (Element const &e2) const |
same as same(e2) More... | |
bool | operator!= (Element const &e2) const |
same as !same (e2) More... | |
類似 stl
的 iterator
,不過這邊叫做Element
用來當作回傳資料的媒介
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
複製資料
|
inline |
same as !same
(e2)
|
inline |
重導至std::pair<Key
const&
,Value&>&
|
inline |
重導至std::pair<Key
const&
,Value&>*
|
inline |
same as copyFrom
|
inline |
same as same(e2)
|
inline |
比對兩者是否為指向同一個Entry