Revision: 701
http://svn.sourceforge.net/pygccxml/?rev=701&view=rev
Author: roman_yakovenko
Date: 2006-11-08 11:00:37 -0800 (Wed, 08 Nov 2006)
Log Message:
-----------
porting indexiing suite to gcc
Modified Paths:
--------------
pyplusplus_dev/indexing_suite_v2/indexing/map.hpp
pyplusplus_dev/indexing_suite_v2/indexing/multimap.hpp
Modified: pyplusplus_dev/indexing_suite_v2/indexing/map.hpp
===================================================================
--- pyplusplus_dev/indexing_suite_v2/indexing/map.hpp 2006-11-08 18:58:43 UTC (rev 700)
+++ pyplusplus_dev/indexing_suite_v2/indexing/map.hpp 2006-11-08 19:00:37 UTC (rev 701)
@@ -177,7 +177,8 @@
boost::python::list _keys;
//For some reason code with set could not be compiled
//std::set< key_param > unique_keys;
- for( iterator index = most_derived::begin(c); index != most_derived::end(c); ++index ){
+ typedef BOOST_DEDUCED_TYPENAME container::iterator iter_type;
+ for( iter_type index = most_derived::begin(c); index != most_derived::end(c); ++index ){
//if( unique_keys.end() == unique_keys.find( index->first ) ){
// unique_keys.insert( index->first );
if( !_keys.count( index->first ) ){
Modified: pyplusplus_dev/indexing_suite_v2/indexing/multimap.hpp
===================================================================
--- pyplusplus_dev/indexing_suite_v2/indexing/multimap.hpp 2006-11-08 18:58:43 UTC (rev 700)
+++ pyplusplus_dev/indexing_suite_v2/indexing/multimap.hpp 2006-11-08 19:00:37 UTC (rev 701)
@@ -141,7 +141,8 @@
boost::python::list _keys;
//For some reason code with set could not be compiled
//std::set< key_param > unique_keys;
- for( iterator index = most_derived::begin(c); index != most_derived::end(c); ++index ){
+ typedef BOOST_DEDUCED_TYPENAME container::iterator iter_type;
+ for( iter_type index = most_derived::begin(c); index != most_derived::end(c); ++index ){
//if( unique_keys.end() == unique_keys.find( index->first ) ){
// unique_keys.insert( index->first );
if( !_keys.count( index->first ) ){
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|