X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FSetup.hh;h=7b2c07abd92d0e797a49640aaa4cda080b93470a;hb=1a29b75bf774444ec182dfff8480a0c53597bf85;hp=7ca50683275964384c53777cf74712ce8d871e1a;hpb=2eb3c777cc9db271336c226f4eeec6018c196c3e;p=senf.git diff --git a/PPI/Setup.hh b/PPI/Setup.hh index 7ca5068..7b2c07a 100644 --- a/PPI/Setup.hh +++ b/PPI/Setup.hh @@ -37,6 +37,12 @@ namespace senf { namespace ppi { +namespace detail { + struct DisableStandardInput {}; + struct DisableStandardOutput {}; + struct DisableStandardConnect : public DisableStandardInput, public DisableStandardOutput {}; +} + #ifdef DOXYGEN /** \brief Connect modules @@ -77,20 +83,20 @@ namespace ppi { void connect(T & source, C & target, typename boost::disable_if< boost::is_base_of >::type * = 0, typename boost::enable_if< boost::is_base_of >::type * = 0, - typename boost::disable_if< boost::is_base_of >:: type * = 0); + typename boost::disable_if< boost::is_base_of >::type * = 0); template void connect(C & source, T & target, typename boost::enable_if< boost::is_base_of >::type * = 0, typename boost::disable_if< boost::is_base_of >::type * = 0, - typename boost::disable_if< boost::is_base_of >:: type * = 0); + typename boost::disable_if< boost::is_base_of >::type * = 0); template void connect(T1 & source, T2 & target, typename boost::disable_if< boost::is_base_of >::type * = 0, typename boost::disable_if< boost::is_base_of >::type * = 0, - typename boost::disable_if< boost::is_base_of >:: type * = 0, - typename boost::disable_if< boost::is_base_of >:: type * = 0); + typename boost::disable_if< boost::is_base_of >:: type * = 0, + typename boost::disable_if< boost::is_base_of >:: type * = 0); #endif