Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vsipl++] PATCH: restrict vsip::operator! to view types


  • To: Stefan Seefeld <stefan@xxxxxxxxxxxxxxxx>
  • Subject: Re: [vsipl++] PATCH: restrict vsip::operator! to view types
  • From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
  • Date: Fri, 11 Nov 2005 09:39:53 -0800

Stefan Seefeld wrote:
> As the subject-line says, the attached patch uses sfinae
> to restrict the unary operators '!' and '~' to operate
> on view types only.
> The patch doesn't seem to introduce regressions for g++ 3.4.2,
> and makes a number of tests compile with ghs.

That's a nice solution; it will probably avoid other cases that might
confuse us or users as well!

-- 
Mark Mitchell
CodeSourcery, LLC
mark@xxxxxxxxxxxxxxxx
(916) 791-8304