Boost logo

Boost :

From: Paul Rose (prose_at_[hidden])
Date: 2007-04-03 08:09:39


>
> > Ideally I'd like my code to work with both 1.33 and 1.34. Any hints

> > on how to do this elegantly?
>
> Add your own layer of indirection:
>
> namespace my_namespace
> {
> template< class PtrMap >
> typename PtrMap::key_type ptr_map_key( const PtrMap& )
> {
> #ifdef BOOST_1_34
> ..

Thank you -- will do.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk