mirror of
https://github.com/boostorg/python.git
synced 2026-01-26 06:42:27 +00:00
cxx 6.5 fixes
[SVN r12689]
This commit is contained in:
@@ -141,9 +141,12 @@ inline typename Generator::result_type
|
||||
unwind_type(type<U>*p = 0, Generator* = 0)
|
||||
{
|
||||
BOOST_STATIC_CONSTANT(int, indirection
|
||||
= (pointer_ * is_pointer<U>::value)
|
||||
| (reference_ * is_reference<U>::value)
|
||||
| (reference_to_pointer_ * is_reference_to_pointer<U>::value));
|
||||
= (is_pointer<U>::value ? pointer_ : 0)
|
||||
+ (is_reference_to_pointer<U>::value
|
||||
? reference_to_pointer_
|
||||
: is_reference<U>::value
|
||||
? reference_
|
||||
: 0));
|
||||
|
||||
return unwind_helper2<indirection>::execute((U(*)())0,(Generator*)0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user