mongoose-cpp icon indicating copy to clipboard operation
mongoose-cpp copied to clipboard

Remove use of macros

Open wichtounet opened this issue 9 years ago • 0 comments

This pull request removes the only two macros used in this project. This has the advantages of:

  1. Not using macros anymore
  2. Not forcing the user to use "using namespace Mongoose" which is a very bad code smell in my opinion

Since this break the compatibility, if you don't want it, could you at least qualify all the names used inside the macro with Mongoose:: ? So that the user is not forced to use complete namespaces...

wichtounet avatar Jan 26 '16 07:01 wichtounet