User forums > Nightly builds

The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.

<< < (18/19) > >>

Loaden:

--- Quote from: thomas on September 27, 2010, 05:09:24 pm ---Not sure if we really need this. We've had a nullptr implementation since 2007 (I wrote that one before being aware of Meyer's more elegant solution), and nobody ever cared to use nullptr anywhere in the code :P

--- End quote ---
This seems more like we do not know there is a nullptr implement in CB's sdk.
Use nullptr instead of 0 (or NULL) is sooner or later.
I like the C++0x.  :)

Loaden:

--- Quote from: blueshake on September 27, 2010, 02:21:47 pm ---
--- Quote from: blueshake on September 22, 2010, 04:59:56 pm ---support member variable initialation codecompletion now


--- End quote ---
nice to visit the forum again.
here is the patch.

--- End quote ---
Nice! The patch improved code completion in member variable init position.
Now it will works better.

huliming2004:
a.h

namespace A{
    class myclass{
        public:
            void myfunc();
    }
}

a.cpp

using namespace A;

void myclass::myfunc(){
   //codes here
}

where i right clicked "void myfunc()"  in file "a.h" and choose "find implemetion of myfunc()", but failed with "not found myfunc()"
i know it's because of namespace, if i add namespace like this: A::myclass::myfunc(), it's fine

Loaden:

--- Quote from: huliming2004 on October 01, 2010, 11:59:14 pm ---a.h

namespace A{
    class myclass{
        public:
            void myfunc();
    }
}

a.cpp

using namespace A;

void myclass::myfunc(){
   //codes here
}

where i right clicked "void myfunc()"  in file "a.h" and choose "find implemetion of myfunc()", but failed with "not found myfunc()"
i know it's because of namespace, if i add namespace like this: A::myclass::myfunc(), it's fine


--- End quote ---
confirmed!
And this code could be parse well.

a.cpp

namespace A
{
void myclass::myfunc(){
   //codes here
}
}

ollydbg:

--- Quote from: Loaden on October 02, 2010, 03:11:58 am ---a.cpp
namespace A
{
   void myclass::myfunc(){
   //codes here
   }
}

--- End quote ---

Yes, I prefer using this way, and CC works fine.
and Currently CC does not handling "using namespace XXX " directive correctly.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version