2

Let's suppose that someone want to say: "I've mastered all about the C++ templates", what are all (or almost all) the knowledge, patterns and techniques related to templates that this person should know about?.

If someone wants to achieve this mastery, where he/she could look for all the "mastering C++ templates" topics?

Could you help me to create a complete recopilation of the C++ template-related topics, with links to examples and/or definitions for my own (and the community) future reference?

Since now, my own list of template-related stuff is the following:

But i suspect that i'm missing lots of things and even for the topics i've heard about i don't have tutorials/examples.

Community
  • 1
  • 1
PaperBirdMaster
  • 12,806
  • 9
  • 48
  • 94
  • 4
    You can't say "I know everything about templates" unless you are lying or you are Stroustrup. –  Oct 11 '13 at 12:16
  • 10
    @H2CO3 - or Andrei Alexandrescu :) – Kiril Kirov Oct 11 '13 at 12:16
  • 2
    Surely just list the contents of David Vandevoorde and Nicolai M. Josuttis book? – doctorlove Oct 11 '13 at 12:17
  • @H2CO3 And what about Herb Sutter? o.o – Adri C.S. Oct 11 '13 at 12:17
  • 1
    http://www.josuttis.com/tmplbook/ – Armen Tsirunyan Oct 11 '13 at 12:17
  • For C++98, "C++ Templates - The Complete Guide" offers the most comprehensive coverage of the feature. Not sure if they are planning to publish a C++11 edition. – Nemanja Trifunovic Oct 11 '13 at 12:18
  • 5
    @h2co3 naw, Stroustrup has quite often talked about being surprised about what use people put templates to. I doubt he would make that claim. – Yakk - Adam Nevraumont Oct 11 '13 at 12:19
  • 1
    And if you want to claim to know everything about templates, you need to learn this by heart: *When writing a specialization be careful about its location, or to make it compile will be such a trial as to kindle its self-immolation.* :P – jrok Oct 11 '13 at 12:21
  • 2
    @NemanjaTrifunovic: They're [working on the next edition book targeting C++14](http://www.amazon.com/C-Templates-David-Vandevoorde/dp/0321714121/ref=dp_ob_title_bk). So hope it gets released sometime next year. – Nawaz Oct 11 '13 at 12:21
  • Isn't this a useful question for the community? I don't think this is opinion-based at all, i rather think that providing a list of template-related information could be pretty useful for any C++ coder. – PaperBirdMaster Oct 11 '13 at 12:24
  • Even if it's not opinion-based -- which I think it is -- you are asking for a *list of things*, which is also off-topic at Stack Overflow. The closure of this question is not a commentary on how useful the question is. Its a commentary on how on-topic it is for Stack Overflow. – John Dibling Oct 11 '13 at 12:59
  • @JohnDibling so wich StackExchange will be the best to place a question like this one? – PaperBirdMaster Oct 11 '13 at 13:02
  • There is no StackExchange site where asking for a list-of-things is on-topic. Sorry, but if you want to explore this topic here you'll need to narrow the focus. – John Dibling Oct 11 '13 at 13:05
  • @paperbirdmaster StackExchange does not seek to be the place where any question can be asked. My guess would be none of them. You could find one of many programming discussion forums elsewhere on the internet? – Yakk - Adam Nevraumont Oct 11 '13 at 13:07

0 Answers0