
18 Apr
2008
18 Apr
'08
5:20 p.m.
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.