Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-16 15:41:14


Hi Peter,

I have written the file below, and plan to check it in to python/detail
unless you want to provide this workaround directly in bind.hpp. The piles
of warnings with gcc 3.x were just getting to be too painful. What shall I
do?

-Dave

-----------
// Copyright David Abrahams 2002. Permission to copy, use,
// modify, sell and distribute this software is granted provided this
// copyright notice appears in all copies. This software is provided
// "as is" without express or implied warranty, and with no claim as
// to its suitability for any purpose.
#ifndef BIND_DWA2002116_HPP
# define BIND_DWA2002116_HPP

// All compilers; I need portable code
file:// # if ((__GNUC__ == 3) && (__GNUC_MINOR__ == 0))
# define _1 arg_1
# define _2 arg_2
# define _3 arg_3
# define _4 arg_4
# define _5 arg_5
# define _6 arg_6
# define _7 arg_7
# define _8 arg_8
# define _9 arg_9
file:// # endif

# include <boost/bind.hpp>

// All compilers; I need portable code
file:// # if ((__GNUC__ == 3) && (__GNUC_MINOR__ == 0))
# undef _1
# undef _2
# undef _3
# undef _4
# undef _5
# undef _6
# undef _7
# undef _8
# undef _9
file:// # endif

#endif // BIND_DWA2002116_HPP

===================================================
  David Abrahams, C++ library designer for hire
 resume: http://users.rcn.com/abrahams/resume.html

        C++ Booster (http://www.boost.org)
          email: david.abrahams_at_[hidden]
===================================================


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