feat: enhance timer
This commit is contained in:
parent
43c87e5904
commit
54d48e7d91
5 changed files with 133 additions and 8 deletions
|
|
@ -23,3 +23,10 @@ auto construct() {
|
|||
return Type{forward<decltype(args)>(args)...};
|
||||
};
|
||||
}
|
||||
|
||||
template<typename V>
|
||||
auto constant(V v) {
|
||||
return [v](auto _) {
|
||||
return v;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue