Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qanystringview.cpp File Reference
#include "qanystringview.h"
#include "qdebug.h"
#include "qttypetraits.h"
+ Include dependency graph for qanystringview.cpp:

Go to the source code of this file.

Functions

QDebug operator<< (QDebug d, QAnyStringView s)
 

Function Documentation

◆ operator<<()

operator<< ( QDebug  d,
QAnyStringView  s 
)
Since
6.7

Outputs s to debug stream d.

If {d.quotedString()} is true, indicates which encoding the string is in. If you just want the string data, use visit() like this:

s.visit([&d) (auto s) { d << s; });
GLdouble s
[6]
Definition qopenglext.h:235
See also
QAnyStringView::visit()

Definition at line 623 of file qanystringview.cpp.