On Wed, 14 Jun 2017, Radoslaw Zarzynski wrote:
May we put this somewhere under common/? Although the mentioned Clang build failure has been resolved this morning, I bet the constexpr- capable variant of strlen (ceph::strlen?) will be very useful in the future. Also, I would love to make a clean-up PR based on it.
I'd certainly like to see this, as well as a few other goodies for wrangling C (I have some ideas, and soon some code).
For folks who haven't seen Matt Godbolt's compiler explorer, this is a super useful tool for testing things like this, since you can see the assembly output from different compilers produced in a very handy way (warning: lots of fun, may be addictive!):
https://godbolt.org/ -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