Menu

Namespace

Anonymous
2000-05-22
2000-05-23
  • Anonymous

    Anonymous - 2000-05-22

    Is Common C++ going to use an own namespace in the future?

    It would be nice to have everything in one namespace e.g.
    "ccxx" or something like that to avoid name clashing errors
    when using other libraries or even own code.

    I'm currently working with three libraries together (one of them CC++) all defining "int8" for example (with different meaning). I solved this by adding "namespace ccxx{ ... };" In the source files (And the same way in the other libs)

    I know that not all compilers support namespaces, but this can be solved by using macros.

     
    • David Sugar

      David Sugar - 2000-05-23

      A future major release (?1.1) will start using namespaces extensivily.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.