Skip to content

Ensure const-correctness for graph element properties storage - #111

Merged
SpectraL519 merged 13 commits into
cpp-gl-v3from
const-correctness
Jul 27, 2026
Merged

Ensure const-correctness for graph element properties storage#111
SpectraL519 merged 13 commits into
cpp-gl-v3from
const-correctness

Conversation

@SpectraL519

Copy link
Copy Markdown
Owner
  • Aligned the vertex/edge descriptor types to allow:
    • Proper implicit conversion from non-const to const variant
    • Comparison between a const and non-const variants
  • Refactored the graph class and the internal implementation types to define and utilize const and non-const element descriptors based on the graph's constness
  • Relaxed the c_graph concept to allow multiple value/type categories of the graph class
  • Introduced helper typedefs to easily extract the typedefs from a graph type in generic contexts
  • Refactored the internal specialized implementation types to use the explicit object parameter feature in order to be used as mixin base types instead of simple static method dispatchers
  • Aligned the algorithm implementations to work with the new, aligned graph implementation

Comment thread include/gl/types/properties.hpp Outdated
Comment thread include/gl/types/properties.hpp Outdated
Comment thread include/gl/vertex_descriptor.hpp
Comment thread include/gl/vertex_descriptor.hpp
Comment thread include/gl/edge_descriptor.hpp Outdated
Comment thread include/gl/graph.hpp Outdated
Comment thread include/gl/graph.hpp Outdated
Comment thread include/gl/graph.hpp Outdated
Comment thread include/gl/graph.hpp Outdated
Comment thread include/gl/graph.hpp

@SpectraL519 SpectraL519 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@SpectraL519 SpectraL519 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@SpectraL519
SpectraL519 merged commit 78fba0a into cpp-gl-v3 Jul 27, 2026
6 checks passed
@SpectraL519
SpectraL519 deleted the const-correctness branch July 27, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant