34template <
class T,
class U>
39 return static_cast<T
>(v);
46static const inline QByteArray s_authenticationTokenHeaderId = QByteArrayLiteral(
"x-authentication-token");
47static const inline QByteArray s_productIdHeaderId = QByteArrayLiteral(
"productid");
constexpr T narrow_cast(U v) noexcept
This is a similar implementation from the Guidelines Support Library (GSL), which is used deliberatel...
static const QByteArray s_protocolVersionHeaderId