Re: Clang does not like constexpression

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

 



On Wed, 14 Jun 2017, Adam C. Emerson wrote:

That is true, but only in the case when it throws, and it's similar to the usage in...

Right, and certainly an intentional feature. We may want to see what's provided by Boost. (Unfortunately, Hana requries C++14, but it provides things like folding, etc.)

The other issue (I have not tried this yet) is that I think we still have no nullptr checking, since that requires a runtime address-- so we'd still be in a bit of trouble just treating it like strlen().

-Jesse
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux