[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: kdebase/kcontrol/fonts
From:       Maks Orlovich <mo002j () mail ! rochester ! edu>
Date:       2003-04-29 12:44:43
[Download RAW message or body]

On Tuesday 29 April 2003 07:32 am, Scott Wheeler wrote:
> On Monday 28 April 2003 19:25, Daniel Molkentin wrote:
> > On Monday 28 April 2003 19:18, Marcus Camen wrote:
> > >-    ifstream f(QFile::encodeName(m_file));
> > >+    std::ifstream f(QFile::encodeName(m_file));
> >
> > I know you just made it compile, but, uhm, this should really be QTL,
> > shouldn't it?
>
> Being pedantic, but that's not STL (and as such couldn't be replaced with
> QTL).  That's the "Standard Library" as opposed to the "Standard Template
> Library" -- i.e. there are no templates involved there and it's not
> "generic programming".

You haven't looked recently enough :-)

In modern libstdc++ you'll find things like;
  template<typename _CharT, typename _Traits>
    class basic_ostream : virtual public basic_ios<_CharT, _Traits>

And will also see that stream semantics are integrated tightly with/into the 
STL. 

Yes, the basic ifstream stuff is older than STL, and you can't see the 
template stuff in that line, but it is there..
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic