[Semi OT] Language for Game Development talk
Paulo Pinto via Digitalmars-d
digitalmars-d at puremagic.com
Wed Oct 1 15:00:55 PDT 2014
Am 01.10.2014 23:44, schrieb po:
>
>>> Take a look at the STL. See any OOP? Right cause there isn't any.
>>> Boost? Nope.
>>
>> I see lots of it. How many examples do you want?
>
> Well Boost might have some, I haven't looked at every library.
>
> I don't know of any OOP in the STL, unless you mean the 1980's stuff
> like iostreams and the other shit most people avoid using, but I don't
> think this is considered part of the STL
>
Any use of a class instance is part of OOP.
IOStreams, iterators, strings, containers, ranges, filesytem,
networking, graphics, traits
Being lazy, and counting its occurrences in comments and when used as
instead of typename in templates as well
/cygdrive/c/android-sdk/android-ndk/sources/cxx-stl/gnu-libstdc++/4.8/include
$ grep -R class * | uniq | wc -c
15601
STL is a name that stuck from the old days when it wasn't part of the
language. Nowadays it is just the C++ standard library.
--
Paulo
More information about the Digitalmars-d
mailing list