473,516 Members | 3,399 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

When templates in C++

Does somebody remember, when templates appeared really in C++ compilers
and became fully operational, and also when they appeared in C++ standard?

Thanks!
--
Oct 8 '05 #1
4 1249
Ig**********@cern.ch wrote:
Does somebody remember, when templates appeared really in C++ compilers
and became fully operational,
Sorry, don't know that.
and also when they appeared in C++ standard?


They appeared in the C++ standard when C++ was standardized in 1998, so they
actually have always been part of standard C++.

Oct 8 '05 #2
Ian
Ig**********@cern.ch wrote:
Does somebody remember, when templates appeared really in C++ compilers
and became fully operational, and also when they appeared in C++ standard?

I first used then in '94. Support was a bit patchy then, so I guess
they must have appeared in the early 90s.

Ian
Oct 8 '05 #3
Ian <ia******@hotmail.com> writes:
Ig**********@cern.ch wrote:
Does somebody remember, when templates appeared really in C++ compilers
and became fully operational, and also when they appeared in C++ standard?

I first used then in '94. Support was a bit patchy then, so I guess
they must have appeared in the early 90s.


Sounds about right. I have an issue of DDJ from March '95 which has an inter-
view with Alexander Stepanov, in which he says "I returned to generic-library
development in 1992 [...] C++ had templates by then."

I found a reprint of the interview here:

<http://www.sgi.com/tech/stl/drdobbs-interview.html>

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Oct 9 '05 #4
On Sat, 8 Oct 2005 14:25:00 +0200, Ig**********@cern.ch wrote:
Does somebody remember, when templates appeared really in C++ compilers
and became fully operational, and also when they appeared in C++ standard?

Thanks!


Here's a quote from Bjarne Stroustrup's "The Design and Evolution of
C++" (Addison-Wesley, 1994, ISBN 0-201-54330-3, p. 337 [beginning of
chapter 15]):

"Templates and exceptions were explicitly mentioned in the 'whatis'
paper [Stroustrup, 1986b](§3.15) as desirable for C++, the designs for
the two features were presented in papers [Stroustrup, 1988b] [Koenig,
1989b] [Koenig, 1990], in the ARM, and their inclusion into the
language was mandated in the proposal for standardization of C++.
Thus, even though the implementation and availability of templates and
exception handling in C++ post-dates the start of the standardization
effort, their design and the desire for them goes much further back in
C++'s history."

Great book for this kind of stuff!

--
Bob Hairgrove
No**********@Home.com
Oct 9 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2550
by: Vince C. | last post by:
Hi all, I've created XML documents that are described with a schema. I'm using those documents to create web pages. All my web pages contain a fixed header and a variable document part. The header is the same in each page and is described in an XML document, "Head.xml". The document part, which is variable in content, is described in...
5
2516
by: Tom Alsberg | last post by:
Hi there... I'm recently trying to get a bit acquainted with XML Schemas and XSL. Now, I have a few questions about XSL stylesheets and templates: * Is there a way to "enter" a child element of the currently matched element in the template, so that XPath expressions inside would be relative to that node? Specifically, I want to do...
22
2146
by: E. Robert Tisdale | last post by:
According to the C++ FAQ Lite: http://www.parashift.com/ What is "genericity"? Yet another way to say, "class templates." Not to be confused with "generality" (which just means avoiding solutions which are overly specific),
6
2142
by: Mark Miller | last post by:
I have a scheduled job that uses different XSL templates to transform XML and save it to disk. I am having problems with the code below. The problem shows up on both my development machine (Windows XP Pro SP 1, .Net Framework 1.1) and on our production server (Windows 2K SP 4, .Net Framework 1.1). I have simplified the code and data to isolate...
2
1616
by: jimbo_vr5 | last post by:
Hey I think i've figured out the idea behind apply-templates. But going through the tutorial on <http://www.w3schools.com/xsl/xsl_apply_templates.asp> theres simply just something that i dont get! In the following i've copy pasted the example from <http://www.w3schools.com/xsl/xsl_apply_templates.asp> into this post. I divide into sections...
3
3687
by: Jeff Calico | last post by:
Hello everyone I am transforming an XML document to text, basically only outputting a small portion of it. When I run the following XSLT via Xalan's processor, I get a bunch of unwanted blank lines in the output. Here is a simplified XML and XSLT: (Note the problem does not happen when testing in XMLSpy) - - - - - - - - - - - - - - - -...
2
2319
by: intrepidca | last post by:
When I try to translate an XML file (using org.apache.xalan.xslt.Process) that has a DOCTYPE declaration, I only get the <?xml ...?> processing instruction in the output file. I get no error messages. If I remove the DOCTYPE declaration it works fine. I have checked that the XML file is valid according to the DTD (using xmllint) and that...
25
3292
by: Ted | last post by:
I'm putting the posts that follow here (hopefully they will follow here!) because they were rejected in comp.lang.c++.moderated. It behooves anyone reading them to first read the the thread of the same subject in clc++m to get the more of the context. Ted
104
4454
by: JohnQ | last post by:
Well apparently not since one can step thru template code with a debugger. But if I was willing to make the concession on debugging, templates would be strictly a precompiler thing? I have a feeling the answer I'm going to get back will be "no, because templates have taken on a life of their own since their original conception and now also...
0
7182
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7405
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7574
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7547
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
4769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3265
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3252
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1620
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.