We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
namespace detail { template<typename Derived, typename T> struct BaseType { // comparison operator here }; } // namespace detail namespace X { struct GENPYBIND(inline_base("*")) Value : public Y::Value { constexpr explicit Value(uintmax_t value = 0) GENPYBIND(implicit_conversion) : base_t(value) {} }; } // namespace X namespace Y { struct GENPYBIND(inline_base("*")) Value : public detail::BaseType<Value, uint32_t> { constexpr explicit Value(uintmax_t value = 0) GENPYBIND(implicit_conversion) : base_t(value) {} }; } // namespace Y
yields
// FIXME: expose [Operator CursorKind.FUNCTION_DECL detail::operator==] // ('operator==', 2) -> (('eq', 'eq'), 'l == r') // ['const ::Y::Value', 'const ::Y::Timer::Value']
The text was updated successfully, but these errors were encountered:
@kljohann suggested explicit using declarations.
using
Sorry, something went wrong.
No branches or pull requests
yields
The text was updated successfully, but these errors were encountered: