[index] Remove/modify some comments

This commit is contained in:
Adam Wulkiewicz
2014-08-10 16:08:54 +02:00
parent b9c3c45902
commit 17fd9c6fdb
2 changed files with 5 additions and 10 deletions

View File

@@ -64,12 +64,11 @@ struct spatial_predicate
// ------------------------------------------------------------------ //
// TODO
// may be replaced by
// nearest_predicate<Geometry>
// Geometry geometry
// unsigned count
// + point_tag, path_tag
// CONSIDER: separated nearest<> and path<> may be replaced by
// nearest_predicate<Geometry, Tag>
// where Tag = point_tag | path_tag
// IMPROVEMENT: user-defined nearest predicate allowing to define
// all or only geometrical aspects of the search
template <typename PointOrRelation>
struct nearest

View File

@@ -20,7 +20,6 @@ namespace detail {
template <size_t MaxElements>
struct default_min_elements_s
{
// TODO - assert MaxElements <= (std::numeric_limits<size_t>::max)()/3
static const size_t raw_value = (MaxElements * 3) / 10;
static const size_t value = 1 <= raw_value ? raw_value : 1;
};
@@ -34,7 +33,6 @@ inline size_t default_min_elements_d_calc(size_t max_elements, size_t min_elemen
{
if ( default_min_elements_d() == min_elements )
{
// TODO - assert MaxElements <= (std::numeric_limits<size_t>::max)()/3
size_t raw_value = (max_elements * 3) / 10;
return 1 <= raw_value ? raw_value : 1;
}
@@ -45,7 +43,6 @@ inline size_t default_min_elements_d_calc(size_t max_elements, size_t min_elemen
template <size_t MaxElements>
struct default_rstar_reinserted_elements_s
{
// TODO - assert MaxElements <= (std::numeric_limits<size_t>::max)()/3
static const size_t value = (MaxElements * 3) / 10;
};
@@ -58,7 +55,6 @@ inline size_t default_rstar_reinserted_elements_d_calc(size_t max_elements, size
{
if ( default_rstar_reinserted_elements_d() == reinserted_elements )
{
// TODO - assert MaxElements <= (std::numeric_limits<size_t>::max)()/3
return (max_elements * 3) / 10;
}