I just found that xcode/clang does not allow to construct a std::string_view from a char* nullptr. I would expect that this sets size() to 0 and returns a null for data(), and this is how also how gcc 7.2 on my Ubuntu Linux box implemented it.
I checked http://en.cppreference.com/ but couldn't find any comment about this, so what is the standard saying?