Re: linux programming




Martin Jørgensen wrote:

Are you sure? Or has it maybe started stepping through the macroes in
the standard template library? No way to avoid that, that I know of...

Or into the library itself.

Oh, perhaps thats what it did then... I'm relatively new with linux
programming. I just saw that the title frame window changed it's file
name location to something inside
...linuxSrc/gcc-4.1.1-obj/i686-pc-linux-gnu/libstdc++-v3/include/bits/basic_string.h:283:9689:beg:0xb74b4176
- whatever that means....

And then I see strange and weird code like this:

template<typename _CharT, typename _Traits, typename _Alloc>
basic_string<_CharT, _Traits, _Alloc>::
basic_string(const basic_String& __str)
: _M_dataplus(__str._M_rep()->_M_grab(_Alloc(__str.get_allocator()),
__str.get_allocator()),
__str.get_allocator())
{}

etc.etc.etc.... And I find *that* really confusing... Is is just
stepping into the macros in the STL?

No, but it's stepping into the code that your code called. This is a
template, not a macro. Though they have similar effects, a key
difference is that with a template, the template code is your actual
code. Whereas, with a macro, it builds code into your code that runs.

What do you think the debugger should do if you call a library
function? Why shouldn't it step into it? What would the alternative be?

DS

.



Relevant Pages

  • Re: Understanding Macros
    ... I have the newly created macro toolbar on the template. ... There is no panel on the left of the screen that opens that looks like ...
    (microsoft.public.word.docmanagement)
  • RE: word error
    ... your Normal.dot template may be infected with a macro virus. ... How to remove WLL add-ins and templates in the Word and Office Startup ... Startup folder is causing the problem, ...
    (microsoft.public.office.misc)
  • Re: How do I set up automatically suceeding numbers in Word?
    ... So I'll suggest that for each one you take the name of the template ... then the corresponding names inside the macro could be "Contract A ... "Jay Freedman" wrote: ... digits to display -- and not the number itself. ...
    (microsoft.public.word.docmanagement)
  • Re: How to control macros
    ... values for initalising a UserForm using document variables I'd be willing to ... When I initially create a document from a template, I set a flag to indicate ... As for a "global macro template", I don't have one - at least not for the ...
    (microsoft.public.word.vba.general)
  • Re: Changing default window properties
    ... What do YOU mean by "Global Template"? ... more than one macro of the same ... not willing to mess up my AutoOpen/New macros by testing this. ...
    (microsoft.public.mac.office.word)