mirror of
https://github.com/boostorg/python.git
synced 2026-01-27 07:02:15 +00:00
Possible workaround for cxx 6.2
[SVN r12270]
This commit is contained in:
@@ -19,8 +19,12 @@ namespace boost { namespace python { namespace objects {
|
||||
template <class T>
|
||||
struct forward
|
||||
{
|
||||
BOOST_STATIC_CONSTANT(
|
||||
bool, by_value = (is_scalar<T>::value | is_reference<T>::value)
|
||||
);
|
||||
|
||||
typedef typename mpl::select_type<
|
||||
is_scalar<T>::value | is_reference<T>::value
|
||||
by_value
|
||||
, T
|
||||
, reference_wrapper<
|
||||
typename add_const<T>::type
|
||||
|
||||
Reference in New Issue
Block a user