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

SWI-cpp2.h should be in a namespace

Open kamahen opened this issue 2 years ago • 2 comments

The reason is given here: https://google.github.io/styleguide/cppguide.html#Namespaces

This would require users of SWI-cpp2.h to add a "using namespace swi_cpp2;" or add "swi_cpp2::" to all references to items in SWI-cpp2.h.

kamahen avatar May 16 '23 22:05 kamahen

Just swi?

JanWielemaker avatar May 17 '23 07:05 JanWielemaker

Namespace swi seems good to me. I'll prepare some PRs but I'm not in a hurry.

kamahen avatar May 17 '23 16:05 kamahen