On Wed, 14 Jun 2017, Adam C. Emerson wrote: > On 14/06/2017, Jesse Williamson wrote: > > This will no longer be constexpr. > > Alternatively we could just have it return n-1 in that case, though > that risks letting things that we /expect/ to be C strings that won't > interoperate with C sneak through. It seems like that ambiguity would be explicitly communicated by using the originally proposed string_length() instead of a clever strlen()-lookalike. Also... wouldn't sizeof("foo")-1 work just as well as string_length()? sage -- 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