Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- template <typename T, typename Ts...>
- constexpr bool isHomogenous(T, Ts...)
- {
- return (std::is_same_v<T, Ts> && ...);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement