We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
edge_t
1 parent a98945f commit 5b5c464Copy full SHA for 5b5c464
less_slow.cpp
@@ -4354,6 +4354,12 @@ struct edge_t {
4354
vertex_id_t from;
4355
vertex_id_t to;
4356
edge_weight_t weight;
4357
+
4358
+ //! NVCC's `std::construct_at` requires those default constructors
4359
+ constexpr edge_t() noexcept = default;
4360
+ constexpr edge_t(edge_t const &) noexcept = default;
4361
+ constexpr edge_t(vertex_id_t from, vertex_id_t to, edge_weight_t weight) noexcept
4362
+ : from(from), to(to), weight(weight) {}
4363
};
4364
4365
static_assert( //
0 commit comments