On Mon, 3 Mar 2003, Marc Aurele La France wrote:

> On a related matter, in libGLU's mysetjmp.h, there is
>
>       inline int
>       mysetjmp( JumpBuffer *j )
>       {
>           return ::setjmp( j->buf );
>       }
>
> ... and something similar for longjmp().  Now my (spoken) C++ is less than
> adequate, but what the heck does "::" do/mean?

It means use the global namespace. In this case, it sez to call the setjmp()
function from the C library.


                                Stuart

Stuart R. Anderson                               [EMAIL PROTECTED]
Network & Software Engineering                   http://www.netsweng.com/
1024D/37A79149:                                  0791 D3B8 9A4C 2CDC A31F
                                                 BD03 0A62 E534 37A7 9149
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to