// Copyright (c) 2017 CNRS and LIRIS' Establishments (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org) // // $URL$ // $Id$ // SPDX-License-Identifier: LGPL-3.0-or-later OR LicenseRef-Commercial // // Author(s) : Guillaume Damiand // #ifndef CGAL_CELL_ATTRIBUTE_WITH_ID_H #define CGAL_CELL_ATTRIBUTE_WITH_ID_H 1 #include namespace CGAL { template class Compact_container; template class Concurrent_compact_container; namespace internal { template struct Init_id; } // end namespace internal // A cell attribute with an id, when Info_!=void template class Cell_attribute_with_id: public Cell_attribute { template friend class Compact_container; template friend class Concurrent_compact_container; protected: /// Default constructor. Cell_attribute_with_id() {} /// Constructor with an info in parameter. Cell_attribute_with_id(const Info_& ainfo) : Cell_attribute(ainfo) {} }; /// Specialization when Info==void. template class Cell_attribute_with_id: public Cell_attribute { template friend class Compact_container; template friend class Concurrent_compact_container; protected: /// Default constructor. Cell_attribute_with_id() {} }; } // namespace CGAL #endif // CGAL_CELL_ATTRIBUTE_WITH_ID_H // // EOF //