]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/include/ext/pb_ds/detail/unordered_iterator/iterator.hpp
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / include / ext / pb_ds / detail / unordered_iterator / iterator.hpp
index bfdbcc9eb885c66e37e791daa8f3214d9fc65e61..6bb0b6656506ff61737ace010c85587c14b52c27 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C++ -*-
 
-// Copyright (C) 2005-2018 Free Software Foundation, Inc.
+// Copyright (C) 2005-2024 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the terms
 /**
  * @file iterator.hpp
  * Contains an iterator_ class used for ranging over the elements of the
- *    table.
+ * table.
+ *
+ * This file is intended to be included inside a class definition, with
+ * PB_DS_CLASS_C_DEC defined to the name of the enclosing class.
  */
 
+#ifdef PB_DS_CLASS_C_DEC
 /// Range-type iterator.
 class iterator_
 : public const_iterator_
@@ -128,3 +132,4 @@ protected:
 
   friend class PB_DS_CLASS_C_DEC;
 };
+#endif