$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-04-18 13:20:36
Hi,
I have the following code:
void HandlePair( std::pair<int, char*>& mypair )
{
}
void main()
{
boost::ptr_map<int, char> mymap;
HandlePair( *mymap.begin() );
}
What's the proper way to accept pairs in the HandlePair function? I can't
seem to find a boost::ptr_pair anywhere, or something like that.