mirror of
https://github.com/boostorg/python.git
synced 2026-01-23 17:52:17 +00:00
Remove set_algorithms::assign
[SVN r20421]
This commit is contained in:
@@ -191,7 +191,6 @@ namespace boost { namespace python { namespace indexing {
|
||||
typedef typename Parent::value_param value_param;
|
||||
typedef typename Parent::index_param index_param;
|
||||
|
||||
static void assign (container &, index_param, value_param);
|
||||
static void insert (container &, index_param);
|
||||
};
|
||||
|
||||
@@ -548,19 +547,6 @@ namespace boost { namespace python { namespace indexing {
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// Assign a value at a particular index (set version with dummy param)
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
template<typename ContainerTraits, typename Ovr>
|
||||
void
|
||||
set_algorithms<ContainerTraits, Ovr>::assign (container &c
|
||||
, index_param ix
|
||||
, value_param dummy)
|
||||
{
|
||||
most_derived::insert (c, ix); // Ignore dummy value parameter
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// Insert an element into a set
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user