diff --git a/include/boost/property_tree/string_path.hpp b/include/boost/property_tree/string_path.hpp index 6932d59b0..e40714437 100644 --- a/include/boost/property_tree/string_path.hpp +++ b/include/boost/property_tree/string_path.hpp @@ -272,6 +272,25 @@ namespace boost { namespace property_tree t /= p2; return t; } + + template inline + string_path operator /( + string_path p1, + const String &p2) + { + p1 /= p2; + return p1; + } + + template inline + string_path operator /( + const String &p1, + const string_path &p2) + { + string_path t(p1); + t /= p2; + return t; + } }}