[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

name2() solved



don't go away, i have a "standardising" question for the gurus:

vrweb used a function called name2() that i eventually found in the
libg++2.8.2-dev package in /usr/include/g++-2/generic.h

#define name2(a,b) gEnErIc2(a,b)
#define gEnErIc2(a,b) a ## b

now dselect tells me:

libg++2.8.2-dev - The GNU C++ extension library - development files.
This package contains some GNU classes.
This package is no longer supported upstream (as most of its functionality
is now in the standard C++ library) - do not use this for development of
new software; use libstdc++ instead.


at the moment i just copy pasted the two above lines into one of vrweb's
header files, but what is the "correct" way to code this functionality? if
its not in the stdc++ headers, how are people supposed to solve similar
problems that name2() solved? (even tho its pretty damn simple code).

hope you can help, 
Paul

ps Fabien: i'm just sending this to you so that you don't worry about
answering my last email if you were thinking about it...


Reply to: