This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • This can be a useful tactic, but be aware that you shouldn't overuse namespaces. If you re-implement something basic like a vector class, then perhaps it should have a name that reflects its uniqueness. Just putting 'your' vector class in a special namespace is a bad design.

      Also - if you use a namespace, use one. Don't create namespaces all over the place.
      Author, Programmer, Brewer, Patriot