diff options
author | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2018-09-10 15:52:29 +0200 |
---|---|---|
committer | Kjell Ahlstedt <kjellahlstedt@gmail.com> | 2018-09-10 15:52:29 +0200 |
commit | bcf206539049c9ba8000e0fbcb118c627220f115 (patch) | |
tree | 0b554835ea6b0a9cda7f09433ad8261ba5e51144 | |
parent | e4dfe2acb61664d266eae7a00a4f83af594bba52 (diff) | |
download | sigc++-bcf206539049c9ba8000e0fbcb118c627220f115.tar.gz |
slot, signal: Fix the Doxygen documentation
Hide the forward declarations of sigc::slot and sigc::signal from Doxygen.
If Doxygen sees the forward declarations, it does not care about what's
in the complete class definitions.
-rw-r--r-- | sigc++/functors/slot.h | 2 | ||||
-rw-r--r-- | sigc++/signal.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sigc++/functors/slot.h b/sigc++/functors/slot.h index 8b308db..5cda9cc 100644 --- a/sigc++/functors/slot.h +++ b/sigc++/functors/slot.h @@ -190,8 +190,10 @@ struct slot_call * * @ingroup slot */ +#ifndef DOXYGEN_SHOULD_SKIP_THIS template <typename T_return, typename... T_arg> class slot; +#endif // DOXYGEN_SHOULD_SKIP_THIS template <typename T_return, typename... T_arg> class slot<T_return(T_arg...)> : public slot_base diff --git a/sigc++/signal.h b/sigc++/signal.h index 95d97aa..a819ba9 100644 --- a/sigc++/signal.h +++ b/sigc++/signal.h @@ -529,8 +529,10 @@ public: * * @ingroup signal */ +#ifndef DOXYGEN_SHOULD_SKIP_THIS template <typename T_return, typename... T_arg> class signal; +#endif // DOXYGEN_SHOULD_SKIP_THIS template <typename T_return, typename... T_arg> class signal<T_return(T_arg...)> : public signal_with_accumulator<T_return, void, T_arg...> |