2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-27 07:02:15 +00:00

A small Borland fix

[SVN r10390]
This commit is contained in:
Dave Abrahams
2001-06-21 23:39:30 +00:00
parent 7c33a46a76
commit 1364b97b88

View File

@@ -73,7 +73,8 @@ namespace detail {
struct parameter_traits
{
private:
typedef const_ref_selector<boost::is_reference<T>::value> selector;
enum { is_ref = boost::is_reference<T>::value };
typedef const_ref_selector<is_ref> selector;
public:
typedef typename selector::template const_ref<T>::type const_reference;
};