Point_set_3: fix documentation bug (concept Index accepts constructor with std::size_t)

This commit is contained in:
Simon Giraudot 2017-03-27 09:29:06 +02:00
parent c62d35fadc
commit bb22e0315b
1 changed files with 1 additions and 4 deletions

View File

@ -120,12 +120,9 @@ public:
friend class std::vector<Index>;
std::size_t value;
// Only Point_set_3 and other friend classes are allowed to
// instantiate an Index with a specific value
Index (const std::size_t& value) : value (value) { }
/// \endcond
public:
Index (const Index& index) : value (index) { }
Index (const std::size_t& value) : value (value) { }
Index () : value ((std::size_t)(-1)) { }
Index operator= (const Index& index) { value = index.value; return *this; }
/// \cond SKIP_IN_MANUAL