1
std::auto_ptr< sql::Statement > stmt(con->createStatement());

I looked through my textbook but there is no mention of anything of this sort. Can someone tell me what it is called so I can look it up? The only use of "<" I know is as a binary less-then operator.

Eugene
  • 313
  • 4
  • 12
  • 1
    Please, for the love of puppies and all that is good in this world, read a book! http://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-list – John Dibling Jan 28 '11 at 08:08

2 Answers2

6

Its a template. http://en.wikipedia.org/wiki/Template_%28programming%29

stefan
  • 2,886
  • 21
  • 27
2

Since you asked a very basic question, I would like to point you to the c++ faq, where this and lots of other (simple and complex questions are already answered) : c++ faq

The answer to your specific question among template questions

BЈовић
  • 62,405
  • 41
  • 173
  • 273