Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QtPrivate::ParsedNumber< T > Class Template Reference

#include <qbytearrayalgorithms.h>

+ Collaboration diagram for QtPrivate::ParsedNumber< T >:

Public Member Functions

constexpr ParsedNumber () noexcept
 
constexpr ParsedNumber (T v)
 
 operator bool () const noexcept
 
T & operator* ()
 
const T & operator* () const
 
T * operator-> () noexcept
 
const T * operator-> () const noexcept
 
template<typename U >
value_or (U &&u) const
 

Detailed Description

template<typename T>
class QtPrivate::ParsedNumber< T >

Definition at line 50 of file qbytearrayalgorithms.h.

Constructor & Destructor Documentation

◆ ParsedNumber() [1/2]

template<typename T >
constexpr QtPrivate::ParsedNumber< T >::ParsedNumber ( )
inlineconstexprnoexcept

Definition at line 57 of file qbytearrayalgorithms.h.

◆ ParsedNumber() [2/2]

template<typename T >
constexpr QtPrivate::ParsedNumber< T >::ParsedNumber ( T v)
inlineexplicitconstexpr

Definition at line 58 of file qbytearrayalgorithms.h.

Member Function Documentation

◆ operator bool()

template<typename T >
QtPrivate::ParsedNumber< T >::operator bool ( ) const
inlineexplicitnoexcept

Definition at line 61 of file qbytearrayalgorithms.h.

◆ operator*() [1/2]

template<typename T >
T & QtPrivate::ParsedNumber< T >::operator* ( )
inline

Definition at line 62 of file qbytearrayalgorithms.h.

References Q_ASSERT.

◆ operator*() [2/2]

template<typename T >
const T & QtPrivate::ParsedNumber< T >::operator* ( ) const
inline

Definition at line 63 of file qbytearrayalgorithms.h.

References Q_ASSERT.

◆ operator->() [1/2]

template<typename T >
const T * QtPrivate::ParsedNumber< T >::operator-> ( ) const
inlinenoexcept

Definition at line 65 of file qbytearrayalgorithms.h.

◆ operator->() [2/2]

template<typename T >
T * QtPrivate::ParsedNumber< T >::operator-> ( )
inlinenoexcept

Definition at line 64 of file qbytearrayalgorithms.h.

◆ value_or()

template<typename T >
template<typename U >
T QtPrivate::ParsedNumber< T >::value_or ( U && u) const
inline

Definition at line 67 of file qbytearrayalgorithms.h.


The documentation for this class was generated from the following file: