Bond 0.9
C++ Bond Runtime Library API Documentation
Loading...
Searching...
No Matches
stringview.h File Reference

The non-owning string type used by Bond. More...

#include "bond/conf.h"
#include "bond/private/stringview.h"

Namespaces

namespace  Bond

Functions

BOND_API void Bond::PrintTo (const StringView &str, OutputStream &stream)
 Writes the characters of a StringView to the provided output stream.

Detailed Description

The non-owning string type used by Bond.

By default, Bond::StringView is an alias of std::string_view. It can be replaced by defining USER_BOND_STRINGVIEW_HEADER. A replacement must provide a Bond::StringView class with the interface of std::string_view.