mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
[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>> . svn path=/trunk/; revision=69702
This commit is contained in:
parent
6f3e0b39ca
commit
4883da7f5c
2 changed files with 5 additions and 5 deletions
|
@ -136,7 +136,7 @@ class CElementTraits :
|
|||
{
|
||||
};
|
||||
|
||||
template<typename E, class ETraits = CElementTraits<E>>
|
||||
template<typename E, class ETraits = CElementTraits<E> >
|
||||
class CAtlList
|
||||
{
|
||||
private:
|
||||
|
@ -178,7 +178,7 @@ public:
|
|||
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 @@ public:
|
|||
E RemoveHead();
|
||||
E RemoveTail();
|
||||
void RemoveAll();
|
||||
void RemoveAt(_In_ POSITION pos) throw();
|
||||
void RemoveAt(_In_ POSITION pos);
|
||||
|
||||
POSITION Find(
|
||||
INARGTYPE element,
|
||||
|
|
|
@ -106,7 +106,7 @@ class ChTraitsOS :
|
|||
};
|
||||
|
||||
|
||||
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 @@ public:
|
|||
};
|
||||
|
||||
|
||||
typedef CStringT<wchar_t, StrTraitATL<wchar_t, ChTraitsCRT<wchar_t>>> CAtlStringW;
|
||||
typedef CStringT< wchar_t, StrTraitATL< wchar_t, ChTraitsCRT<wchar_t> > > CAtlStringW;
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue