list.h 268 B

12345678910111213141516171819
  1. /*
  2. * Copyright (c) 2012-2023 Daniele Bartolini et al.
  3. * SPDX-License-Identifier: MIT
  4. */
  5. #pragma once
  6. namespace crown
  7. {
  8. /// Node in an intrusive linked list.
  9. ///
  10. /// @ingroup Containers
  11. struct ListNode
  12. {
  13. ListNode *next;
  14. ListNode *prev;
  15. };
  16. } // namespace crown