summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-27 05:25:49 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-27 05:25:49 +0000
commit951ff9d1a62a509861f95f90e984b6724cd4af3f (patch)
tree26b663632b6a9a2467945fcb43456a537c6aeff9 /src/pugixml.hpp
parenta10bb9d7660637aa23ee86cb4a741f1b7c334357 (diff)
xml_object_range now supports Boost.ForEach
git-svn-id: http://pugixml.googlecode.com/svn/trunk@890 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index f4dfdf2..8a781ea 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -216,6 +216,8 @@ namespace pugi
template <typename It> class xml_object_range
{
public:
+ typedef It const_iterator;
+
xml_object_range(It b, It e): _begin(b), _end(e)
{
}