Currently, to add a NamespaceString to an assertion message using a str::stream(), we have to convert the NamespaceString to a std::string using NamespaceString::ns() or NamespaceString(). It would be convenient to have the following StringBuilder overload so that we can do "str::stream() << nss":
StringBuilder& operator<<(StringBuilder&, const NamespaceString&);