|
From: Ioannis V. <no...@ho...> - 2003-01-13 13:59:41
|
The export keyword is part of the ANSI/ISO C++ standard. That means that sooner or later it will be supported by all C++ compilers. The standard a= lso guarantees that templates work if you place the same definition of them i= n every file you use them (One Definition Rule). That is, the same that you can do with inline functions. However that also means that if you change = a definition, you must recompile all the files having the (new) definition = in them.=0D =0D If i recall correctly the Intel C++ compiler supports it (but i am not 10= 0% sure). Perhaps the latest versions of GCC also support it. One thing is certain, that soon all compilers will be supporting export.=0D =0D =0D Ioannis Vranos=0D =0D * Programming pages: http://www.noicys.freeurl.com=0D * Alternative URL: http://run.to/noicys =0D =0D -------Original Message-------=0D =0D From: erwan ancel=0D Date: 13 January 2003 15:46:40=0D To: dev...@li...=0D Subject: Re: [Dev-C++] templates in C++=0D =0D Well, this export directive is a very good idea, but which compiler suppo= rts=0D it ? At least, gcc doesn't. |