1
0
forked from boostorg/bind

Made the placeholders static.

[SVN r12599]
This commit is contained in:
Peter Dimov
2002-01-31 12:34:58 +00:00
parent 235feb0f62
commit 27c104f1fb

View File

@@ -20,17 +20,23 @@
#include <boost/bind/arg.hpp>
// The placeholders have been made static for use in precompiled headers.
// They are in an unnamed namespace because underscored identifiers are
// illegal at file scope.
namespace
{
boost::arg<1> _1;
boost::arg<2> _2;
boost::arg<3> _3;
boost::arg<4> _4;
boost::arg<5> _5;
boost::arg<6> _6;
boost::arg<7> _7;
boost::arg<8> _8;
boost::arg<9> _9;
}
static boost::arg<1> _1;
static boost::arg<2> _2;
static boost::arg<3> _3;
static boost::arg<4> _4;
static boost::arg<5> _5;
static boost::arg<6> _6;
static boost::arg<7> _7;
static boost::arg<8> _8;
static boost::arg<9> _9;
} // unnamed namespace
#endif // #ifndef BOOST_BIND_PLACEHOLDERS_HPP_INCLUDED