@@ -253,7 +253,7 @@ class vertices_depth_first_search_view : public dfs_base<G, Alloc> {
253253 internal_value (const internal_value& rhs) : shadow_ (rhs.shadow_ ) {}
254254 internal_value () : shadow_{} {}
255255 ~internal_value () {}
256- internal_value& operator =(const internal_value& rhs) { value_. shadow = rhs.value_ . shadow ; }
256+ internal_value& operator =(const internal_value& rhs) { shadow_ = rhs.shadow_ ; return * this ; }
257257 };
258258
259259 public:
@@ -362,7 +362,7 @@ class vertices_depth_first_search_view<G, void, Alloc> : public dfs_base<G, Allo
362362 internal_value (const internal_value& rhs) : shadow_ (rhs.shadow_ ) {}
363363 internal_value () : shadow_{} {}
364364 ~internal_value () {}
365- internal_value& operator =(const internal_value& rhs) { value_. shadow = rhs.value_ . shadow ; }
365+ internal_value& operator =(const internal_value& rhs) { shadow_ = rhs.shadow_ ; return * this ; }
366366 };
367367
368368 public:
@@ -479,7 +479,7 @@ class edges_depth_first_search_view : public dfs_base<G, Alloc> {
479479 internal_value (const internal_value& rhs) : shadow_ (rhs.shadow_ ) {}
480480 internal_value () : shadow_{} {}
481481 ~internal_value () {}
482- internal_value& operator =(const internal_value& rhs) { value_. shadow = rhs.value_ . shadow ; }
482+ internal_value& operator =(const internal_value& rhs) { shadow_ = rhs.shadow_ ; return * this ; }
483483 };
484484
485485 public:
@@ -587,7 +587,7 @@ class edges_depth_first_search_view<G, void, Sourced, Alloc> : public dfs_base<G
587587 internal_value (const internal_value& rhs) : shadow_ (rhs.shadow_ ) {}
588588 internal_value () : shadow_{} {}
589589 ~internal_value () {}
590- internal_value& operator =(const internal_value& rhs) { value_. shadow = rhs.value_ . shadow ; }
590+ internal_value& operator =(const internal_value& rhs) { shadow_ = rhs.shadow_ ; return * this ; }
591591 };
592592
593593 public:
@@ -722,15 +722,15 @@ namespace views {
722722
723723 public:
724724 /* *
725- * @brief Single Source, Breadth First Search for vertices
725+ * @brief Single Source, Depth First Search for vertices
726726 *
727727 * Complexity: O(V + E)
728728 *
729729 * @tparam G The graph type.
730730 * @tparam Alloc The allocator type.
731731 * @param g A graph instance.
732732 * @param seed The vertex id to start the search.
733- * @return A forward range for the breadth first search.
733+ * @return A forward range for the depth first search.
734734 */
735735 template <class _G , class _Alloc = std::allocator<bool >>
736736 requires (_Choice_ref<_G&, _Alloc>._Strategy != _St_ref::_None)
@@ -750,7 +750,7 @@ namespace views {
750750 }
751751
752752 /* *
753- * @brief Single Source, Breadth First Search for vertices with VVF
753+ * @brief Single Source, Depth First Search for vertices with VVF
754754 *
755755 * Complexity: O(V + E)
756756 *
@@ -762,7 +762,7 @@ namespace views {
762762 * @param vvf The vertex value function.
763763 * @param seed The vertex id to start the search.
764764 *
765- * @return A forward range for the breadth first search.
765+ * @return A forward range for the depth first search.
766766 */
767767 template <class _G , class _VVF , class _Alloc = std::allocator<bool >>
768768 requires (_Choice_ref_vvf<_G&, _VVF, _Alloc>._Strategy != _St_ref_vvf::_None)
@@ -871,7 +871,7 @@ namespace views {
871871
872872 public:
873873 /* *
874- * @brief Single Source, Breadth First Search for edges
874+ * @brief Single Source, Depth First Search for edges
875875 *
876876 * Complexity: O(V + E)
877877 *
@@ -881,7 +881,7 @@ namespace views {
881881 * @param g A graph instance.
882882 * @param seed The vertex id to start the search.
883883 *
884- * @return A forward range for the breadth first search.
884+ * @return A forward range for the depth first search.
885885 */
886886 template <class _G , class _Alloc = std::allocator<bool >>
887887 requires (_Choice_ref<_G&, _Alloc>._Strategy != _St_ref::_None)
@@ -901,7 +901,7 @@ namespace views {
901901 }
902902
903903 /* *
904- * @brief Single Source, Breadth First Search for edges with EVF
904+ * @brief Single Source, Depth First Search for edges with EVF
905905 *
906906 * Complexity: O(V + E)
907907 *
@@ -913,7 +913,7 @@ namespace views {
913913 * @param evf The vertex value function.
914914 * @param seed The vertex id to start the search.
915915 *
916- * @return A forward range for the breadth first search.
916+ * @return A forward range for the depth first search.
917917 */
918918 template <class _G , class _EVF , class _Alloc = std::allocator<bool >>
919919 requires (_Choice_ref_evf<_G&, _EVF, _Alloc>._Strategy != _St_ref_evf::_None)
@@ -923,7 +923,7 @@ namespace views {
923923 constexpr _St_ref_evf _Strat_ref_evf = _Choice_ref_evf<_G&, _EVF, _Alloc>._Strategy ;
924924
925925 if constexpr (_Strat_ref_evf == _St_ref_evf::_Non_member) {
926- return edges_depth_first_search (__g, seed, alloc); // intentional ADL
926+ return edges_depth_first_search (__g, seed, evf, alloc); // intentional ADL
927927 } else if constexpr (_Strat_ref_evf == _St_ref_evf::_Auto_eval) {
928928 return edges_depth_first_search_view<_G, _EVF, false >(__g, seed, evf, alloc); // default impl
929929 } else {
@@ -1024,7 +1024,7 @@ namespace views {
10241024
10251025 public:
10261026 /* *
1027- * @brief Single Source, Breadth First Search for source edges.
1027+ * @brief Single Source, Depth First Search for source edges.
10281028 *
10291029 * Complexity: O(V + E)
10301030 *
@@ -1034,7 +1034,7 @@ namespace views {
10341034 * @param g A graph instance.
10351035 * @param seed The vertex id to start the search.
10361036 *
1037- * @return A forward range for the breadth first search.
1037+ * @return A forward range for the depth first search.
10381038 */
10391039 template <class _G , class _Alloc = std::allocator<bool >>
10401040 requires (_Choice_ref<_G&, _Alloc>._Strategy != _St_ref::_None)
@@ -1055,7 +1055,7 @@ namespace views {
10551055
10561056
10571057 /* *
1058- * @brief Single Source, Breadth First Search for edges with EVF
1058+ * @brief Single Source, Depth First Search for edges with EVF
10591059 *
10601060 * Complexity: O(V + E)
10611061 *
@@ -1067,7 +1067,7 @@ namespace views {
10671067 * @param evf The vertex value function.
10681068 * @param seed The vertex id to start the search.
10691069 *
1070- * @return A forward range for the breadth first search.
1070+ * @return A forward range for the depth first search.
10711071 */
10721072 template <class _G , class _EVF , class _Alloc = std::allocator<bool >>
10731073 requires (_Choice_ref_evf<_G&, _EVF, _Alloc>._Strategy != _St_ref_evf::_None)
@@ -1077,7 +1077,7 @@ namespace views {
10771077 constexpr _St_ref_evf _Strat_ref_evf = _Choice_ref_evf<_G&, _EVF, _Alloc>._Strategy ;
10781078
10791079 if constexpr (_Strat_ref_evf == _St_ref_evf::_Non_member) {
1080- return sourced_edges_depth_first_search (__g, seed, alloc); // intentional ADL
1080+ return sourced_edges_depth_first_search (__g, seed, evf, alloc); // intentional ADL
10811081 } else if constexpr (_Strat_ref_evf == _St_ref_evf::_Auto_eval) {
10821082 return edges_depth_first_search_view<_G, _EVF, true >(__g, seed, evf, alloc); // default impl
10831083 } else {
0 commit comments