Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Re: std::pair

Reply
Thread Tools

Re: std::pair

 
 
Kai-Uwe Bux
Guest
Posts: n/a
 
      01-30-2009
Andrew Ostry wrote:

> std:air is it a c++ object / c++ type or what?


It's a template. Therefore,

std:air< int, char >

is a type and

std:air< int, char > some_pair_variable;

declares some_pair_variable to be a variable of that type.


> which header file it comes with?


#include <utility>



Best

Kai-Uwe Bux
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Advertisments