From Jason Turner

[func.wrap.copy.inv]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmp878pef1g/{from.md → to.md} +23 -0
tmp/tmp878pef1g/{from.md → to.md} RENAMED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ##### Invocation <a id="func.wrap.copy.inv">[[func.wrap.copy.inv]]</a>
2
+
3
+ ``` cpp
4
+ explicit operator bool() const noexcept;
5
+ ```
6
+
7
+ *Returns:* `true` if `*this` has a target object, otherwise `false`.
8
+
9
+ ``` cpp
10
+ R operator()(ArgTypes... args) cv ref noexcept(noex);
11
+ ```
12
+
13
+ *Preconditions:* `*this` has a target object.
14
+
15
+ *Effects:* Equivalent to:
16
+
17
+ ``` cpp
18
+ return INVOKE<R>(static_cast<F inv-quals>(f), std::forward<ArgTypes>(args)...);
19
+ ```
20
+
21
+ where `f` is an lvalue designating the target object of `*this` and `F`
22
+ is the type of `f`.
23
+