On Mon, 3 Mar 2003, Stuart Anderson 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.

OK.  Thanks.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Computing and Network Services  |  fax:    1-780-492-1729           |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]          |
|  University of Alberta           +-----------------------------------+
|  Edmonton, Alberta               |                                   |
|  T6G 2H1                         |     Standard disclaimers apply    |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 Core Team member.  ATI driver and X server internals.

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to