summaryrefslogtreecommitdiffhomepage
path: root/compat/base-of.hpp
blob: d5f539d5de1f38569ce5f98244df9843dacded2f (plain)
1
2
3
4
5
6
7
8
#pragma once

namespace floormat {

template<typename Base, typename Derived>
constexpr inline bool is_strict_base_of = std::is_base_of_v<Base, Derived> && !std::is_same_v<Base, Derived>;

} // namespace floormat