#pragma once #include template struct is_one_of_implem { static constexpr bool value = false; }; template struct is_one_of_implem { static constexpr bool value = std::is_same::value || is_one_of_implem::value; }; template constexpr bool is_one_of = is_one_of_implem::value;