Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

std::endl : wrong completion

<< < (4/4)

Loaden:

--- Quote from: eranif on August 27, 2010, 07:55:16 am ---std::endl *is* a function.

When people are typing std::endl they are actually passing the pointer of the function to the 'operator <<' of class basic_ostream


--- Code: ---__ostream_type&
      operator<<(__ostream_type& (*__pf)(__ostream_type&))
--- End code ---

The same is true for all other similar methods, like std::hex, std::oct, std::dec etc
So if you are going to special handle the 'endl' case, make sure you handle the other methods as well (hex, dec, oct etc.)

Eran


--- End quote ---
Thank eranif to help!
Another question, Why CodeLite can not use wxAuiToolBar on Linux?

eranif:

--- Quote ---Thank eranif to help!
Another question, Why CodeLite can not use wxAuiToolBar on Linux?
--- End quote ---
It can. But I simply prefered not to use it but rather using wxToolbar (wxAuiToolBar is simply *ugly* under Linux, it looks like it was written for Windows and then ported to Linux/Mac)

If you really insist on enabling it, you can simply change it in the file cl_defs.h yo USE_AUI_TOOLBAR=1

Eran

Loaden:

--- Quote from: eranif on August 27, 2010, 05:01:49 pm ---
--- Quote ---Thank eranif to help!
Another question, Why CodeLite can not use wxAuiToolBar on Linux?
--- End quote ---
It can. But I simply prefered not to use it but rather using wxToolbar (wxAuiToolBar is simply *ugly* under Linux, it looks like it was written for Windows and then ported to Linux/Mac)

If you really insist on enabling it, you can simply change it in the file cl_defs.h yo USE_AUI_TOOLBAR=1

Eran

--- End quote ---
Well, thank you!

Navigation

[0] Message Index

[*] Previous page

Go to full version