VC6 cannot handle template class typedef of a template class with the same name (in a different namespace)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7047 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
3c6821f214
commit
5b09b32668
9 changed files with 10 additions and 22 deletions
|
@ -1097,9 +1097,9 @@ FORCEINLINE BOOL NoDepr_GetVersionExW(OSVERSIONINFOW*p) { __pragma(warning(push)
|
|||
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace STLHelpers
|
||||
namespace STL
|
||||
{
|
||||
template<class M> struct mapped_type_helper { typedef typename M::value_type::second_type type; }; // VC6 uses referent_type and not mapped_type
|
||||
template<class M> struct mapped_type { typedef typename M::value_type::second_type type; }; // VC6 uses referent_type and not mapped_type
|
||||
}
|
||||
#endif //~ __cplusplus
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue