🎉 Smithery is now a part of Arcade.dev! Read more in our announcement here
Common C++ Anti-Patterns. Triggers: global variables, new/delete, C-style cast, macros, void*.
Is this C or C++?
malloc
free
(int)x
void*
std::vector
std::unique_ptr
static_cast
new
reinterpret_cast
Can I delete this new?
make_unique
Can I remove this macro?
constexpr
new T
make_unique<T>
T*
unique_ptr<T>
(T)ptr
static_cast<T>(ptr)
#define