Kim Lillåsowningmymistakes.hashnode.dev·Feb 7, 2024Careful about function-like macro parameter namingI needed to create a function-like macro which set a parameter in a default settings struct, simple enough. struct Settings { unsigned enabled; }; struct Settings defaultSettings; #define SetEnabled(enabled) (defaultSettings.enabled = enabled) ...C++Add a thoughtful commentNo comments yetBe the first to start the conversation.