Skip to content

Conversation

NiskashY
Copy link

@NiskashY NiskashY commented Aug 18, 2025

Problem:

struct X { 
    X(Arg1, Arg2, Arg3);
};
::utils:MakeSharedRef<X>(Arg1, Arg2); /// There should be 

This code doesn't compile, but I want to get errors/warnings from clangd in the last line fragment above.
I didn't find a solution in the clangd flags for similar std::make_shared/std::make_unique, so I add a std::is_constructible check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant