From 4bb20b5557fc056ffbbacf6f20525b0baf259704 Mon Sep 17 00:00:00 2001 From: wqking Date: Tue, 31 May 2022 17:27:15 +0800 Subject: [PATCH] Fixed typos in documents --- .gitignore | 1 + doc/anyid.md | 26 +++++++++++++++++++-- doc/argumentadapter.md | 2 +- doc/eventqueue.md | 2 +- doc/hetereventqueue.md | 2 +- doc/mixins.md | 6 ++--- doc/scopedremover.md | 2 +- readme.md | 2 +- tests/tutorial/tutorial_eventdispatcher.cpp | 4 ++-- 9 files changed, 35 insertions(+), 12 deletions(-) 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