После добавления ничего не меняется.
template<typename... Ts> bool HasComponent()
{
return (HasComponent_impl<Ts>() && ...);
}Пример.std::function<void(std::string&)> f = std::bind(handler1, _1);
//или тупо
std::function<void(std::string&)> f = handler1; так как функция нестандартная, она просто не будет подключаться если компилировать код c -c++11 или -c++14 .Простите, что?
'const AnotherType' and 'const AnotherType'