Update comment.
This commit is contained in:
1 parent
bb6764f9d9
commit
77cf72f8d1
1 file changed
+2
-1
@@ -573,7 +573,8 @@
|
|||||||
(y) = tmp; \
|
(y) = tmp; \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
/* Check if 'n' is assignable to an object of type 'type'
|
/* Check if 'n' is assignable to an object of type 'type'.
|
||||||
|
It is as if we create a temporary of type 'type' and assign 'n' to it.
|
||||||
Return the object 'n' if it is possible.
|
Return the object 'n' if it is possible.
|
||||||
Two definitions: one with compound-literals for C, the other with static_cast for C++.
|
Two definitions: one with compound-literals for C, the other with static_cast for C++.
|
||||||
NOTE: C definition is safer than the C++ one.
|
NOTE: C definition is safer than the C++ one.
|
||||||
|
|||||||
Reference in new issue
Block a user