summaryrefslogtreecommitdiffstats
path: root/doc/html/tqpair-h.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-28 21:41:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-28 21:41:52 +0900
commit0e9cae00ef660b51955c7c9abfa7eb148d8bfab0 (patch)
tree6b46cc5b3ced64b9cba7b1293ada94bf5cfb2125 /doc/html/tqpair-h.html
parent1df9f282051905555d02d43069a2c9ca0cc89270 (diff)
downloadtqt-remove/tq-inline-template-define.tar.gz
tqt-remove/tq-inline-template-define.zip
Remove TQ_INLINE_TEMPLATES define.remove/tq-inline-template-define
inline' is redundant in function template definitions, except for specific template specialization Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqpair-h.html')
-rw-r--r--doc/html/tqpair-h.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/tqpair-h.html b/doc/html/tqpair-h.html
index 6df787924..454bce351 100644
--- a/doc/html/tqpair-h.html
+++ b/doc/html/tqpair-h.html
@@ -106,20 +106,20 @@ struct TQPair
};
template &lt;class T1, class T2&gt;
-TQ_INLINE_TEMPLATES bool operator==( const TQPair&lt;T1, T2&gt;&amp; x, const TQPair&lt;T1, T2&gt;&amp; y )
+bool operator==( const TQPair&lt;T1, T2&gt;&amp; x, const TQPair&lt;T1, T2&gt;&amp; y )
{
return x.first == y.first &amp;&amp; x.second == y.second;
}
template &lt;class T1, class T2&gt;
-TQ_INLINE_TEMPLATES bool operator&lt;( const TQPair&lt;T1, T2&gt;&amp; x, const TQPair&lt;T1, T2&gt;&amp; y )
+bool operator&lt;( const TQPair&lt;T1, T2&gt;&amp; x, const TQPair&lt;T1, T2&gt;&amp; y )
{
return x.first &lt; y.first ||
( !( y.first &lt; x.first ) &amp;&amp; x.second &lt; y.second );
}
template &lt;class T1, class T2&gt;
-TQ_INLINE_TEMPLATES TQPair&lt;T1, T2&gt; qMakePair( const T1&amp; x, const T2&amp; y )
+TQPair&lt;T1, T2&gt; qMakePair( const T1&amp; x, const T2&amp; y )
{
return TQPair&lt;T1, T2&gt;( x, y );
}