mirror of
https://github.com/BlackMATov/meta.hpp.git
synced 2025-12-16 22:17:02 +07:00
raw registry api
This commit is contained in:
@@ -127,10 +127,10 @@
|
|||||||
|
|
||||||
| | |
|
| | |
|
||||||
| -------------------------------------------------- | -------------- |
|
| -------------------------------------------------- | -------------- |
|
||||||
| [resolve_type](./api/registry.md#resolve_type) | resole_type |
|
|
||||||
| [for_each_type](./api/registry.md#for_each_type) | for_each_type |
|
| [for_each_type](./api/registry.md#for_each_type) | for_each_type |
|
||||||
| [resolve_scope](./api/registry.md#resolve_scope) | resolve_scope |
|
| [resolve_type](./api/registry.md#resolve_type) | resole_type |
|
||||||
| [for_each_scope](./api/registry.md#for_each_scope) | for_each_scope |
|
| [for_each_scope](./api/registry.md#for_each_scope) | for_each_scope |
|
||||||
|
| [resolve_scope](./api/registry.md#resolve_scope) | resolve_scope |
|
||||||
|
|
||||||
## States
|
## States
|
||||||
|
|
||||||
|
|||||||
@@ -1,18 +1,40 @@
|
|||||||
- [API Registry](#api-registry)
|
- [API Registry](#api-registry)
|
||||||
- [Functions](#functions)
|
- [Functions](#functions)
|
||||||
- [resolve\_type](#resolve_type)
|
|
||||||
- [for\_each\_type](#for_each_type)
|
- [for\_each\_type](#for_each_type)
|
||||||
- [resolve\_scope](#resolve_scope)
|
- [resolve\_type](#resolve_type)
|
||||||
- [for\_each\_scope](#for_each_scope)
|
- [for\_each\_scope](#for_each_scope)
|
||||||
|
- [resolve\_scope](#resolve_scope)
|
||||||
|
|
||||||
# API Registry
|
# API Registry
|
||||||
|
|
||||||
## Functions
|
## Functions
|
||||||
|
|
||||||
|
### for_each_type
|
||||||
|
|
||||||
|
```cpp
|
||||||
|
template < type_family Type = any_type, typename F >
|
||||||
|
void for_each_type(F&& f);
|
||||||
|
```
|
||||||
|
|
||||||
### resolve_type
|
### resolve_type
|
||||||
|
|
||||||
### for_each_type
|
```cpp
|
||||||
|
template < typename T >
|
||||||
|
auto resolve_type();
|
||||||
|
|
||||||
|
template < typename T >
|
||||||
|
auto resolve_type(T&& from);
|
||||||
|
```
|
||||||
|
|
||||||
|
### for_each_scope
|
||||||
|
|
||||||
|
```cpp
|
||||||
|
template < typename F >
|
||||||
|
void for_each_scope(F&& f);
|
||||||
|
```
|
||||||
|
|
||||||
### resolve_scope
|
### resolve_scope
|
||||||
|
|
||||||
### for_each_scope
|
```cpp
|
||||||
|
scope resolve_scope(std::string_view name);
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user