mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
.docs
git-svn-id: svn://ultimatepp.org/upp/trunk@14819 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0497911808
commit
54d496a9f9
2 changed files with 4 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
// Backward compatibility
|
||||
// Backward compatibility; use Function/Event in the new code
|
||||
|
||||
template <class... ArgTypes>
|
||||
class CallbackN : Moveable<CallbackN<ArgTypes...>> {
|
||||
|
|
|
|||
|
|
@ -100,7 +100,9 @@ String>] is equivalent of [*C@5 Function<void (int, String)>].&]
|
|||
[s5;:Upp`:`:Gate`:`:typedef:%- [@(0.0.255) template <typename... ][*@4 ArgTypes][@(0.0.255) >
|
||||
using]_[* Gate]_`=_Function<[@(0.0.255) bool]_(ArgTypes[@(0.0.255) ...])>&]
|
||||
[s2; Creates alias for Function returning bool. For example, [*C@5 Gate<int,
|
||||
String>] is equivalent of [*C@5 Function<bool (int, String)>].&]
|
||||
String>] is equivalent of [*C@5 Function<bool (int, String)>].
|
||||
Note that empty Gate returns false (because empty Function returns
|
||||
bool(), which is false).&]
|
||||
[s3;%- &]
|
||||
[s0;%- &]
|
||||
[ {{10000@(113.42.0) [s0; [*@7;4 MemFn and THISFN]]}}&]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue