Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #7899

Re: Traits in STL

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.wtal.de!news.tal.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: Traits in STL
Date Sun, 17 Jul 2011 14:09:23 +1200
Lines 33
Message-ID <98euklFi81U4@mid.individual.net> (permalink)
References <04673f16-5afd-47f2-9266-e3f4a00fec6a@fv14g2000vbb.googlegroups.com> <98em9fFi81U2@mid.individual.net> <95445e75-8918-4037-b24e-63826ea6e40a@s17g2000yqs.googlegroups.com> <98enh3Fi81U3@mid.individual.net> <c42e6dea-a497-472d-88ed-5fabd5eb06ab@hd10g2000vbb.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net u/EVm5FPUMZFuZa4QayD8wVQJcBR/Q0tJe4ggw7eL7/NiLqFdx
Cancel-Lock sha1:PeDKx2viAK6x8rrOKF/h6E+WiPQ=
User-Agent Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4
In-Reply-To <c42e6dea-a497-472d-88ed-5fabd5eb06ab@hd10g2000vbb.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.lang.c++:7899

Show key headers only | View raw


On 07/17/11 12:13 PM, Narinder wrote:
> On Jul 17, 1:08 am, Ian Collins<ian-n...@hotmail.com>  wrote:
>> On 07/17/11 11:54 AM, Narinder wrote:
>>> On Jul 17, 12:46 am, Ian Collins<ian-n...@hotmail.com>    wrote:
>>
>>>> Another reason could be a lot of compilers didn't support template
>>>> template parameters when the standard was published (as an aside, I
>>>> don't think template template parameters are used anywhere in the
>>>> current standard library).  Not being able to support std:;string would
>>>> have been a bit of a problem!
>>
>>> hmmm ... there something quite disturbing about that. Surely the
>>> implementation of the compilers should depend on the standard not the
>>> other way round ...
>>
>> Imagine where we'd be if the standard library required export....
>>

Please don't quote signatures.

> Mr Comeau would be very wealthy.

:)

> I could be wrong, but wasn't export introduced after the work on the
> STL already along way on ?

There's another reason: a large part of the library was existing 
practice and pre-standard compilers didn't have template template 
parameters.

-- 
Ian Collins

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Traits in STL Narinder <narinder.claire@gmail.com> - 2011-07-16 16:36 -0700
  Re: Traits in STL Ian Collins <ian-news@hotmail.com> - 2011-07-17 11:46 +1200
    Re: Traits in STL Narinder <narinder.claire@gmail.com> - 2011-07-16 16:54 -0700
      Re: Traits in STL Ian Collins <ian-news@hotmail.com> - 2011-07-17 12:08 +1200
        Re: Traits in STL Narinder <narinder.claire@gmail.com> - 2011-07-16 17:13 -0700
          Re: Traits in STL Ian Collins <ian-news@hotmail.com> - 2011-07-17 14:09 +1200
  Re: Traits in STL Qi <no@no.com> - 2011-07-17 09:47 +0800

csiph-web