From 43fac19d81a843789e276d31b032b5511accb68c Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine@gmail.com" Date: Fri, 23 Mar 2012 03:24:44 +0000 Subject: Added xml_text &&/|| operators for Borland C++ git-svn-id: http://pugixml.googlecode.com/svn/trunk@874 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/pugixml.hpp') diff --git a/src/pugixml.hpp b/src/pugixml.hpp index db858d6..53f4b63 100644 --- a/src/pugixml.hpp +++ b/src/pugixml.hpp @@ -614,6 +614,12 @@ namespace pugi xml_text& operator=(bool rhs); }; +#ifdef __BORLANDC__ + // Borland C++ workaround + bool PUGIXML_FUNCTION operator&&(const xml_text& lhs, bool rhs); + bool PUGIXML_FUNCTION operator||(const xml_text& lhs, bool rhs); +#endif + // Child node iterator (a bidirectional iterator over a collection of xml_node) class PUGIXML_CLASS xml_node_iterator { -- cgit v1.2.3