Author: hbelusca
Date: Sun Oct 25 23:10:43 2015
New Revision: 69702

URL: http://svn.reactos.org/svn/reactos?rev=69702&view=rev
Log:
[ATL]
- Fix exception specifier (Ged or Thomas, can you double-check those please? :) 
)
- ATL can be used in code not using the C++11 standard aka. fix build when 
double '>' characters are present, for example in template<foo bar<stuff>> .

Modified:
    trunk/reactos/lib/atl/atlcoll.h
    trunk/reactos/lib/atl/atlstr.h

Modified: trunk/reactos/lib/atl/atlcoll.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/atl/atlcoll.h?rev=69702&r1=69701&r2=69702&view=diff
==============================================================================
--- trunk/reactos/lib/atl/atlcoll.h     [iso-8859-1] (original)
+++ trunk/reactos/lib/atl/atlcoll.h     [iso-8859-1] Sun Oct 25 23:10:43 2015
@@ -136,7 +136,7 @@
 {
 };
 
-template<typename E, class ETraits = CElementTraits<E>>
+template<typename E, class ETraits = CElementTraits<E> >
 class CAtlList
 {
 private:
@@ -178,7 +178,7 @@
     E& GetNext(_Inout_ POSITION& pos);
     const E& GetNext(_Inout_ POSITION& pos) const;
     E& GetPrev(_Inout_ POSITION& pos);
-    const E& GetPrev(_Inout_ POSITION& pos) const throw();
+    const E& GetPrev(_Inout_ POSITION& pos) const;
 
     E& GetAt(_In_ POSITION pos);
     const E& GetAt(_In_ POSITION pos) const;
@@ -189,7 +189,7 @@
     E RemoveHead();
     E RemoveTail();
     void RemoveAll();
-    void RemoveAt(_In_ POSITION pos) throw();
+    void RemoveAt(_In_ POSITION pos);
 
     POSITION Find(
         INARGTYPE element,

Modified: trunk/reactos/lib/atl/atlstr.h
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/atl/atlstr.h?rev=69702&r1=69701&r2=69702&view=diff
==============================================================================
--- trunk/reactos/lib/atl/atlstr.h      [iso-8859-1] (original)
+++ trunk/reactos/lib/atl/atlstr.h      [iso-8859-1] Sun Oct 25 23:10:43 2015
@@ -106,7 +106,7 @@
 };
 
 
-template <typename _BaseType = wchar_t, class StringIterator = 
ChTraitsOS<_BaseType>>
+template<typename _BaseType = wchar_t, class StringIterator = 
ChTraitsOS<_BaseType> >
 class StrTraitATL :
     public StringIterator
 {
@@ -123,7 +123,7 @@
 };
 
 
-typedef CStringT<wchar_t, StrTraitATL<wchar_t, ChTraitsCRT<wchar_t>>> 
CAtlStringW;
+typedef CStringT< wchar_t, StrTraitATL< wchar_t, ChTraitsCRT<wchar_t> > > 
CAtlStringW;
 
 }
 


Reply via email to