473,473 Members | 2,320 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Giving proper credit to 'template metaprogramming'

Hi all,

I am currently writing an academic paper that talks about a pure ISO C++
class library that depends, at least in part, on template metaprogramming
techniques. I would like to reference the orignal source of the idea, but
as I picked it up from secondary sources myself, I'm not sure what the true
source of the idea was.

Any ideas?

Thanks,
Sarah

PS: The class library implements a hardware compiler/partial evaluator as an
embedded language within C++.
Jul 22 '05 #1
2 1226

"Sarah Thompson" <no@replies.please.com> wrote in message
news:c6**********@pegasus.csx.cam.ac.uk...
Hi all,

I am currently writing an academic paper that talks about a pure ISO C++
class library that depends, at least in part, on template metaprogramming
techniques. I would like to reference the orignal source of the idea, but
as I picked it up from secondary sources myself, I'm not sure what the true source of the idea was.


'C++ Templates' by Vendevoorde and Josuttis say the first documented
template metaprogram was by Erwin Unruh. His program produces the prime
number sequence in its error messages, which is pretty neat. They quote the
source of the program.

For serious work and popularising the concept they credit Todd Veldhuizen in
a paper titled 'Using C++ Template Metaprograms' which I haven't read.

John
Jul 22 '05 #2

"Sarah Thompson" <no@replies.please.com> wrote in message
news:c6**********@pegasus.csx.cam.ac.uk...
Hi all,

I am currently writing an academic paper that talks about a pure ISO C++
class library that depends, at least in part, on template metaprogramming
techniques. I would like to reference the orignal source of the idea, but
as I picked it up from secondary sources myself, I'm not sure what the true source of the idea was.

Any ideas?


Section 17.1 of "C++ Templates: The Complete Guide" by Vandevoorde and
Josuttis (Addison-Wesley):

"In 1994 during a meeting of the C++ standardization committee, Erwin Unruh
discovered that templates can be used to compute something at compile time.
He wrote a program that produced prime numbers."

A Google search for "Erwin Unruh" came up with his website:
http://www.erwin-unruh.de/
http://www.erwin-unruh.de/meta.html

Regards,
Sumit.


Jul 22 '05 #3

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

Similar topics

0
by: Dave | last post by:
For those who might be so inclined, I was wondering if I might get honest critiques of my first real venture into template metaprogramming. This template metaprogram sorts a list of integers at...
12
by: Dave | last post by:
Would people agree with the statement that to a large degree, using template metaprogramming techniques turns a C++ compiler into a C++ interpreter (but just for the metaprogrammed portions of the...
5
by: Mohammad | last post by:
Hi, Is it possible to disable a method of a template class depending on the typename at compile time? thanks!
21
by: Protoman | last post by:
I've been looking at template metaprogramming. It seems really cool, make the compiler do most of the work. I have very simple program that uses TMP,it calculates the square of a number, but it...
7
by: Joe | last post by:
Hi, I found a concept named template metaprogramming that can be used in C+ + code at compile-time. I am a beginner at C++. But I am a programmer on the .NET platform. Do you know if template...
1
by: Ted | last post by:
I have cross posted this to comp.lang.c++ and to sci.math.num- analysis in the belief that the topic is of interest to some in both groups. I am building my toolkit, in support of my efforts in...
5
by: iapx86 | last post by:
My parser project calls for a computed goto (see code below). The C preprocessor delivers the desired result, but is ugly. Template metaprogramming delivers results I do not understand. Can...
3
by: stdlib99 | last post by:
Hi, I have a simple question regarding templates and meta programming. I am going to try and work my way through the C++ Template Metaprogramming, a book by David Abrahams and Aleksey...
12
by: nooneinparticular314159 | last post by:
Hello. If I declare the following: template<int a, int b, int SomeArray> class DoSomething{ public: .. .. ..
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
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...
0
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 ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.