diff --git a/fit/alias.h b/fit/alias.h index 88c74d5..853fc74 100644 --- a/fit/alias.h +++ b/fit/alias.h @@ -13,6 +13,43 @@ #include #include +/// alias +/// ===== +/// +/// Description +/// ----------- +/// +/// The `alias` class wraps a type with a new type that can be tagged by the +/// user. +/// +/// Synopsis +/// -------- +/// +/// // Alias the type using a member variable +/// template +/// class alias; +/// +/// // Alias the type by inheriting +/// template +/// class alias_inherit; +/// +/// // Alias the type using a static variable +/// template +/// class alias_static; +/// +/// // Retrieve tag from alias +/// template +/// class alias_tag; +/// +/// // Check if type has a certian tag +/// template +/// class has_tag; +/// +/// // Retrieve value from alias +/// template +/// constexpr auto alias_value(Alias&&); +/// + namespace fit { template diff --git a/mkdocs.yml b/mkdocs.yml index 63b4e94..50aa876 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -43,6 +43,7 @@ pages: - 'identity': 'identity.md' - 'placeholders': 'placeholders.md' - Utilities: + - 'alias': 'alias.md' - 'apply': 'apply.md' - 'apply_eval': 'apply_eval.md' - 'capture': 'capture.md'