Velocity Reviews - Computer Hardware Reviews

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

Thread Tools

Re: std::pair

Kai-Uwe Bux
Posts: n/a
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>


Kai-Uwe Bux
Reply With Quote

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