This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ patch] Allow p->~T() when T is a vector


On Thu, 2 Aug 2012, Jason Merrill wrote:

On 08/02/2012 07:42 AM, Marc Glisse wrote:
+	    if (SCALAR_TYPE_P (object_type)
+		|| TREE_CODE (object_type) == VECTOR_TYPE)

You can use "scalarish_type_p" for this test. OK with that change.

Wow, I'd missed it, a function that does exactly what I need, thanks!


--
Marc Glisse


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]