diff --git a/.gitignore b/.gitignore index 06534c1..5277969 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ tests/build/temp* tests/build/project* tests/coverage build +.vscode diff --git a/doc/anyid.md b/doc/anyid.md index e2969c8..7dd111e 100644 --- a/doc/anyid.md +++ b/doc/anyid.md @@ -1,5 +1,19 @@ # Class AnyId reference + +## Table Of Contents +* [Description](#a2_1) +* [API reference](#a2_2) + * [Header](#a3_1) + * [Class AnyId template parameters](#a3_2) + * [Public types](#a3_3) + * [Member functions](#a3_4) +* [Global type AnyHashableId](#a2_3) +* [Comparison AnyId](#a2_4) +* [When to use AnyId?](#a2_5) + + + ## Description The template class `AnyId` can be used as the event ID type in `EventDispatcher` and `EventQueue`, then any types can be used as the event type. @@ -31,23 +45,26 @@ For an `int` event type, we can't use `std::string` as the event ID. With `AnyId` in previous example code, we can pass any types as the event ID. + ## API reference + ### Header eventpp/utilities/anyid.h + ### Class AnyId template parameters ```c++ template