Skip to content
New issue

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

cetl::rtti::rtti in two places #423

Open
thirtytwobits opened this issue Jan 31, 2025 · 1 comment
Open

cetl::rtti::rtti in two places #423

thirtytwobits opened this issue Jan 31, 2025 · 1 comment
Labels
priority-low A minor issue status-help-wanted Issues that core maintainers do not have the time or expertise to work on.

Comments

@thirtytwobits
Copy link
Contributor

It seems the compiler is somehow okay with this but both IExecutor and ScatteredBuffer extend cetl::rtti::rtti?

@pavel-kirienko
Copy link
Member

As we just found out at the call, the following is valid:

#include <iostream>

class rtti{};

class derived : rtti::rtti::rtti::rtti {};

int main()
{
    derived d;
    std::cout << &d;
    return 0;
}

So this is just a typo.

@pavel-kirienko pavel-kirienko added priority-low A minor issue status-help-wanted Issues that core maintainers do not have the time or expertise to work on. labels Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-low A minor issue status-help-wanted Issues that core maintainers do not have the time or expertise to work on.
Projects
None yet
Development

No branches or pull requests

2 participants