Added static_assert for subscribe and unsubscribe
Added static_assert for subscribe and unsubscribe

redradist/Inter-Component-Communication,redradist/Inter-Component-Communication,redradist/Inter-Component-Communication