T.84 Correction of Example: Change type of suc and pre to Link_base

This commit is contained in:
Frank Zingsheim
2016-10-18 22:35:18 +02:00
parent 98f1e46602
commit 84b1d80c61

View File

@@ -15519,8 +15519,8 @@ Avoid code bloat.
It could be a base class: It could be a base class:
struct Link_base { // stable struct Link_base { // stable
Link* suc; Link_base* suc;
Link* pre; Link_base* pre;
}; };
template<typename T> // templated wrapper to add type safety template<typename T> // templated wrapper to add type safety