Boost logo

Boost :

From: Brian Osman (osmanb_at_[hidden])
Date: 2001-08-23 12:50:54

I don't think any such guarantee can be made solely on information from the
standard. While it is almost certainly true that pair<int, int> is a POD, I
suspect that it is possible to write a conforming implementation where that
is not the case. Right?

-Brian Osman

----- Original Message -----
From: <tom.widmer_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Thursday, August 23, 2001 1:27 PM
Subject: [boost] type_traits and std::pair

> Would I be right in saying that a std::pair<int, int> is a POD type? Yet
boost::is_POD<std::pair<int, int> >::value == false :(
> Is there any chance that std::pair specialisations can be added to
type_traits? Obviously, with compiler support there wouldn't be a problem,
but my compiler doesn't have it yet (does anyone's?).

> ...

> Tom

Boost list run by bdawes at, gregod at, cpdaniel at, john at