Skip to content

Commit 1cb02ff

Browse files
authored
Update virtual table policy diagram.md
1 parent 5cbd75b commit 1cb02ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

design/virtual table policy diagram.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ For the sub-framework of virtual-table type switching, `zoo::Policy`, the user c
1212
The **implementation** uses the following members of a policy:
1313
1. `MemoryLayout`: this is the **base value manager**. It's size and alignment are that of the `zoo::Policy` storage model.
1414
2. `template<typename ValueToManage> Builder`: indicates the concrete value manager for the given type
15-
3. `template<typename ConcreteAnyContainer> Affordances`: this provide bases from the affordances to the `AnyContainer`, this is how they add things to the interface of `AnyContainer`, via their template members `UserAffordance`, that use the CRTP [^user affordance CRTP]
15+
3. `template<typename ConcreteAnyContainer> Affordances`: this provide bases from the affordances to the `AnyContainer`, this is how they add things to the interface of `AnyContainer`, via their template members `UserAffordance`, that use the CRTP [^user_affordance_CRTP]
1616

1717
## The base value manager
1818

@@ -38,7 +38,7 @@ The most important feature of this flavor of the framework is to use virtual tab
3838
```
3939
[from here](https://github.com/thecppzoo/zoo/blob/d6435fc984ee0bde31979f7908a73473f61ac4bd/inc/zoo/Any/VTablePolicy.h#L274-L276).
4040

41-
[^user affordance CRTP]: The curiously recurring template pattern accomplishes the following:
41+
[^user_affordance_CRTP]: The curiously recurring template pattern accomplishes the following:
4242
For `AnyContainer<Policy<StorageModel, A1, A2, A2>>`:
4343
```c++
4444
using M = AnyContainer<Policy<StorageModel, A1, A2, A2>>;

0 commit comments

Comments
 (0)