Skip to content

Commit 77194f1

Browse files
committed
signal_connect(): Add @Newin
1 parent b154e84 commit 77194f1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sigc++/signal_connect.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ namespace sigc
3232
* @param fun The function that should be wrapped.
3333
* @return A connection.
3434
*
35+
* @newin{3,8}
3536
* @ingroup signal
3637
*/
3738
template<typename T_return, typename... T_arg>
@@ -47,6 +48,7 @@ signal_connect(signal<T_return(T_arg...)>& signal, T_return (*fun)(T_arg...))
4748
* @param fun Pointer to method that should be wrapped.
4849
* @return A connection.
4950
*
51+
* @newin{3,8}
5052
* @ingroup signal
5153
*/
5254
template<typename T_return, typename T_obj, typename... T_arg>
@@ -62,9 +64,10 @@ signal_connect(signal<T_return(T_arg...)>& signal, /**/ T_obj& obj, T_return (T_
6264
* @param fun Pointer to method that should be wrapped.
6365
* @return A connection.
6466
*
67+
* @newin{3,8}
6568
* @ingroup signal
6669
*/
67-
#if SIGC_MSC
70+
#ifdef SIGC_MSC
6871
/* MSVC needs to distinguish object's class and method's class (using the
6972
* template parameter T_obj2) to avoid raising error C2672 (no matching
7073
* overloaded function found) when signal_connect(...) is called with a
@@ -88,4 +91,3 @@ signal_connect(signal<T_return(T_arg...)>& signal, /*const*/ T_obj& obj, T_retur
8891
} /* namespace sigc */
8992

9093
#endif /* SIGC_SIGNAL_CONNECT_H */
91-

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy