|
From: Per W. <pw...@ia...> - 2003-01-13 14:15:50
|
Ahem. Look how soon Microsoft Visual C++ gets updated to be compatible with the C++ standard. Also, while the major players may strive for standard adherence, a lot of smaller compilers - for smaller operating systems, embedded development etc - will have a very tough time. For some platforms, there might never be a compiler with the latest C++ standard. /Per W On Mon, 13 Jan 2003, Ioannis Vranos wrote: > 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 also > guarantees that templates work if you place the same definition of them in > 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. > > If i recall correctly the Intel C++ compiler supports it (but i am not 100% > sure). Perhaps the latest versions of GCC also support it. One thing is > certain, that soon all compilers will be supporting export. > > > Ioannis Vranos > > * Programming pages: http://www.noicys.freeurl.com > * Alternative URL: http://run.to/noicys > > -------Original Message------- > > From: erwan ancel > Date: 13 January 2003 15:46:40 > To: dev...@li... > Subject: Re: [Dev-C++] templates in C++ > > Well, this export directive is a very good idea, but which compiler supports > it ? At least, gcc doesn't. |