fwd.hpp 558 B

123456789101112131415161718192021222324252627
  1. #ifndef ENTT_GRAPH_FWD_HPP
  2. #define ENTT_GRAPH_FWD_HPP
  3. #include <cstddef>
  4. #include <memory>
  5. #include "../core/fwd.hpp"
  6. namespace entt {
  7. /*! @brief Undirected graph category tag. */
  8. struct directed_tag {};
  9. /*! @brief Directed graph category tag. */
  10. struct undirected_tag: directed_tag {};
  11. template<typename, typename = std::allocator<std::size_t>>
  12. class adjacency_matrix;
  13. template<typename = std::allocator<id_type>>
  14. class basic_flow;
  15. /*! @brief Alias declaration for the most common use case. */
  16. using flow = basic_flow<>;
  17. } // namespace entt
  18. #endif