char_traits::length

static size_t length(const E *x);

The static member function returns the number of elements N in the sequence beginning at x up to but not including the element x[N] that compares equal to E(0).