[Insight-developers] std::slist and ITK - making portable
Gaëtan Lehmann
gaetan.lehmann at jouy.inra.fr
Mon Dec 11 14:54:27 EST 2006
Hi,
I'm back to that problem, after a few months :-)
slist is not defined in std namespace with gcc - it is defined in
__gnu_cxx namespace.
I guess that using __gnu_cxx::slist is not really portable.
Can someone help me to make it more portable ? I'm not familiar with the
preprocessor for this kind of task.
Thanks,
Gaetan
Le Thu, 03 Aug 2006 11:38:50 +0200, Peter Cech <pcech at vision.ee.ethz.ch> a
écrit:
> Despite being in the std:: namespace, it is an extension, not part of
> the C++98 standard (and AFAIK not part of TR1 either). Anyway, nothing
> that you cannot solve with some #ifdefs.
>
> On Wed, Aug 02, 2006 at 19:05:30 -0400, Bill Lorensen wrote:
>> I think it is part of stl and should be OK to use.
>>
>> At 06:15 AM 8/2/2006, Gaetan Lehmann wrote:
>>
>> >Hi,
>> >
>> >I would like to know if std::slist<> can be used without problem to
>> >implement a new ITK filter. It seems to be less common than std::list,
>> and
>> >I'm not sure it is supported by all the compilers supported by TIK.
>> >
>> >Thanks,
>> >
>> >Gaetan
>> >
>> >--
>> >Gaëtan Lehmann
>> >Biologie du Développement et de la Reproduction
>> >INRA de Jouy-en-Josas (France)
>> >tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
>> >http://voxel.jouy.inra.fr
>> >_______________________________________________
>> >Insight-developers mailing list
>> >Insight-developers at itk.org
>> >http://www.itk.org/mailman/listinfo/insight-developers
>>
>> _______________________________________________
>> Insight-developers mailing list
>> Insight-developers at itk.org
>> http://www.itk.org/mailman/listinfo/insight-developers
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers
--
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
http://voxel.jouy.inra.fr
More information about the Insight-developers
mailing list