2
0
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:
Raoul Gough
2003-10-20 10:59:37 +00:00
parent b1a0f0a373
commit 4f7abba608

View File

@@ -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
/////////////////////////////////////////////////////////////////////////