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.
1 parent 4f30e3a commit 2a1e581Copy full SHA for 2a1e581
include/behaviortree_cpp_v3/utils/string_view.hpp
@@ -891,6 +891,14 @@ nssv_constexpr bool operator== (
891
basic_string_view <CharT, Traits> rhs ) nssv_noexcept
892
{ return lhs.compare( rhs ) == 0 ; }
893
894
+template< class CharT, class Traits >
895
+nssv_constexpr bool operator== (
896
+ basic_string_view <CharT, Traits> lhs,
897
+ CharT const * rhs) nssv_noexcept
898
+{
899
+ return lhs.compare(rhs) == 0;
900
+}
901
+
902
template< class CharT, class Traits >
903
nssv_constexpr bool operator!= (
904
basic_string_view <CharT, Traits> lhs,
0 commit comments