Skip to content

Commit 2823756

Browse files
committed
removed vertex and edge generic aliases
1 parent 1d5e2fa commit 2823756

4 files changed

Lines changed: 5 additions & 16 deletions

File tree

include/gl/edge_descriptor.hpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,6 @@ class edge_descriptor final {
237237
std::reference_wrapper<properties_type>> _properties;
238238
};
239239

240-
template <
241-
traits::c_graph_directional_tag DirectionalTag = directed_t,
242-
traits::c_properties Properties = empty_properties,
243-
traits::c_id_type IdType = default_id_type>
244-
using edge = edge_descriptor<DirectionalTag, Properties, IdType>;
245-
246240
template <
247241
traits::c_properties Properties = empty_properties,
248242
traits::c_id_type IdType = default_id_type>

include/gl/types/flat_matrix.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1140,7 +1140,7 @@ class flat_matrix {
11401140
/// @warning This operation forces a reallocation and structural shift. All iterators, pointers, and references are invalidated.
11411141
/// @note **Time Complexity:** $O(R \times C)$ where $R$ and $C$ are dimensions of the matrix.
11421142
void pop_col() {
1143-
if (this->empty() || this->_n_cols == 0uz)
1143+
if (this->empty() or this->_n_cols == 0uz)
11441144
return;
11451145

11461146
this->erase_col(this->_n_cols - 1uz);

include/gl/util/ranges.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class concat_view : public std::ranges::view_interface<concat_view<V1, V2>> {
6565
}
6666

6767
constexpr auto begin() const
68-
requires std::ranges::range<const V1> && std::ranges::range<const V2>
68+
requires std::ranges::range<const V1> and std::ranges::range<const V2>
6969
{
7070
return iterator<true>(
7171
std::ranges::begin(this->_v1),
@@ -79,7 +79,7 @@ class concat_view : public std::ranges::view_interface<concat_view<V1, V2>> {
7979
}
8080

8181
constexpr auto end() const
82-
requires std::ranges::range<const V1> && std::ranges::range<const V2>
82+
requires std::ranges::range<const V1> and std::ranges::range<const V2>
8383
{
8484
return sentinel<true>(std::ranges::end(this->_v2));
8585
}
@@ -137,11 +137,11 @@ class concat_view : public std::ranges::view_interface<concat_view<V1, V2>> {
137137
}
138138

139139
constexpr bool operator==(const iterator& other) const {
140-
return this->_it1 == other._it1 && this->_it2 == other._it2;
140+
return this->_it1 == other._it1 and this->_it2 == other._it2;
141141
}
142142

143143
constexpr bool operator==(const sentinel<Const>& s) const {
144-
return this->_it1 == this->_end1 && this->_it2 == s.end2();
144+
return this->_it1 == this->_end1 and this->_it2 == s.end2();
145145
}
146146

147147
private:

include/gl/vertex_descriptor.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,4 @@ class vertex_descriptor final {
133133
std::reference_wrapper<properties_type>> _properties;
134134
};
135135

136-
template <
137-
traits::c_properties Properties = empty_properties,
138-
traits::c_id_type IdType = default_id_type>
139-
using vertex = vertex_descriptor<Properties, IdType>;
140-
141136
} // namespace gl

0 commit comments

Comments
 (0)