You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by el...@apache.org on 2008/06/02 21:24:24 UTC

svn commit: r662525 - /stdcxx/branches/4.2.x/util/collate.cpp

Author: elemings
Date: Mon Jun  2 12:24:24 2008
New Revision: 662525

URL: http://svn.apache.org/viewvc?rev=662525&view=rev
Log:
2008-06-02  Eric Lemings <er...@roguewave.com>

	STDCXX-550
	* util/collate.cpp (Def::preprocess_collation_definitions):
	Remove `typename' keyword.  Some compilers don't like it outside
	of templates.


Modified:
    stdcxx/branches/4.2.x/util/collate.cpp

Modified: stdcxx/branches/4.2.x/util/collate.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/util/collate.cpp?rev=662525&r1=662524&r2=662525&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/util/collate.cpp (original)
+++ stdcxx/branches/4.2.x/util/collate.cpp Mon Jun  2 12:24:24 2008
@@ -250,7 +250,7 @@
             csm_it->second = coll_value++;
     }
 
-    static typename token_list_t::size_type max_orders = 0;
+    static token_list_t::size_type max_orders = 0;
 
     std::list<collate_section_t>::iterator s_it = section_list_.begin ();
 



Re: svn commit: r662525 - /stdcxx/branches/4.2.x/util/collate.cpp

Posted by Martin Sebor <se...@roguewave.com>.
elemings@apache.org wrote:
> Author: elemings
> Date: Mon Jun  2 12:24:24 2008
> New Revision: 662525
> 
> URL: http://svn.apache.org/viewvc?rev=662525&view=rev
> Log:
> 2008-06-02  Eric Lemings <er...@roguewave.com>
> 
> 	STDCXX-550
> 	* util/collate.cpp (Def::preprocess_collation_definitions):
> 	Remove `typename' keyword.  Some compilers don't like it outside
> 	of templates.

You might want to use EDG eccp to check the conformance
of your changes before committing them. Both the compiler
and our implementation (when using the front end) enforce
strict correctness and portability.

Martin

> 
> 
> Modified:
>     stdcxx/branches/4.2.x/util/collate.cpp
> 
> Modified: stdcxx/branches/4.2.x/util/collate.cpp
> URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/util/collate.cpp?rev=662525&r1=662524&r2=662525&view=diff
> ==============================================================================
> --- stdcxx/branches/4.2.x/util/collate.cpp (original)
> +++ stdcxx/branches/4.2.x/util/collate.cpp Mon Jun  2 12:24:24 2008
> @@ -250,7 +250,7 @@
>              csm_it->second = coll_value++;
>      }
>  
> -    static typename token_list_t::size_type max_orders = 0;
> +    static token_list_t::size_type max_orders = 0;
>  
>      std::list<collate_section_t>::iterator s_it = section_list_.begin ();
>  
> 
>