X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=PPI%2FSetup.cti;h=b32b906a3abdcafe724b2ba63878b9c7e45e0861;hb=9bfe0b87be0926193b5baf13865cf045f0de0b0d;hp=caf151fd9cdf984096bfb77fa5a7fa079a79b877;hpb=0327b3f303ea2a61d44a30bfaac022874dcf2a0d;p=senf.git diff --git a/PPI/Setup.cti b/PPI/Setup.cti index caf151f..b32b906 100644 --- a/PPI/Setup.cti +++ b/PPI/Setup.cti @@ -32,29 +32,29 @@ #ifndef DOXYGEN -template -prefix_ void -senf::ppi::connect(M & source, C & target, - typename boost::enable_if< boost::is_base_of >::type *, - typename boost::enable_if< boost::is_base_of >::type *) +template +prefix_ void senf::ppi:: +connect(T & source, C & target, + typename boost::disable_if< boost::is_base_of >::type *, + typename boost::enable_if< boost::is_base_of >::type *) { connect(source.output, target); } -template -prefix_ void -senf::ppi::connect(C & source, M & target, - typename boost::enable_if< boost::is_base_of >::type *, - typename boost::enable_if< boost::is_base_of >::type *) +template +prefix_ void senf::ppi:: +connect(C & source, T & target, + typename boost::enable_if< boost::is_base_of >::type *, + typename boost::disable_if< boost::is_base_of >::type *) { connect(source, target.input); } -template -prefix_ void -senf::ppi::connect(M1 & source, M2 & target, - typename boost::enable_if< boost::is_base_of >::type *, - typename boost::enable_if< boost::is_base_of >::type *) +template +prefix_ void senf::ppi:: +connect(T1 & source, T2 & target, + typename boost::disable_if< boost::is_base_of >::type *, + typename boost::disable_if< boost::is_base_of >::type *) { connect(source.output, target.input); }