mirror of
https://github.com/boostorg/python.git
synced 2026-01-30 08:02:38 +00:00
fix for wrapping vector<bool>
[SVN r19692]
This commit is contained in:
@@ -67,7 +67,12 @@ namespace boost { namespace python {
|
||||
;
|
||||
}
|
||||
|
||||
static data_type&
|
||||
static
|
||||
typename mpl::if_<
|
||||
is_class<data_type>
|
||||
, data_type&
|
||||
, data_type
|
||||
>::type
|
||||
get_item(Container& container, index_type i)
|
||||
{
|
||||
return container[i];
|
||||
|
||||
Reference in New Issue
Block a user