From 77cf72f8d1ad221819a30ffbffc9cf8a10a701e5 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Mon, 8 May 2017 12:41:26 +0200 Subject: [PATCH] Update comment. --- m-core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/m-core.h b/m-core.h index c4286730..ccf3f7f8 100644 --- a/m-core.h +++ b/m-core.h @@ -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.