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::QHypotHelper< T > Class Template Reference

#include <qmath.h>

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

Public Member Functions

 QHypotHelper (T first)
 
result () const
 
template<typename F , typename ... Fs>
auto add (F first, Fs... rest) const
 
template<typename F , typename R = typename QHypotType<T, F>::type>
QHypotHelper< Radd (F next) const
 

Friends

template<typename F >
class QHypotHelper
 

Detailed Description

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

Definition at line 108 of file qmath.h.

Constructor & Destructor Documentation

◆ QHypotHelper()

template<typename T >
QtPrivate::QHypotHelper< T >::QHypotHelper ( T first)
inline

Definition at line 114 of file qmath.h.

Member Function Documentation

◆ add() [1/2]

template<typename T >
template<typename F , typename ... Fs>
auto QtPrivate::QHypotHelper< T >::add ( F first,
Fs... rest ) const
inline

Definition at line 119 of file qmath.h.

References QtPrivate::QHypotHelper< T >::add().

Referenced by QtPrivate::QHypotHelper< T >::add(), qHypot(), and qHypot().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add() [2/2]

template<typename T >
template<typename F , typename R = typename QHypotType<T, F>::type>
QHypotHelper< R > QtPrivate::QHypotHelper< T >::add ( F next) const
inline

Definition at line 123 of file qmath.h.

References next, qAbs(), qIsInf(), qIsNaN(), and R.

+ Here is the call graph for this function:

◆ result()

template<typename T >
T QtPrivate::QHypotHelper< T >::result ( ) const
inline

Definition at line 115 of file qmath.h.

References qIsFinite(), and qSqrt().

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ QHypotHelper

template<typename T >
template<typename F >
friend class QHypotHelper
friend

Definition at line 111 of file qmath.h.


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