Update comment.

This commit is contained in:
Patrick Pelissier committed 2017-05-08 12:41:26 +02:00
1 parent bb6764f9d9
commit 77cf72f8d1
1 file changed
+2 -1
+2 -1
View File
@@ -573,7 +573,8 @@
(y) = tmp; \
} 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.
Two definitions: one with compound-literals for C, the other with static_cast for C++.
NOTE: C definition is safer than the C++ one.