#ifndef RTG_GUARD_RTGLIB_REQUIRES_HPP #define RTG_GUARD_RTGLIB_REQUIRES_HPP #include namespace rtg { template struct and_ : std::is_same, and_<(Bs || true)...>> { }; #define RTG_REQUIRES(...) class = typename std::enable_if{}>::type } // namespace rtg #endif