Z
zs
Hi!
I get warning message shown below in VS.NET 2k3. Is this deprecated by
microsoft or by standard?
I need hash_set to store and search small strings (<20 chars long).
I'll have less then 300 strings, should I use some other stl conteiner?
d:\VS_Project\thread_test\thread_test\MtHashSet.h(14) : warning C4996:
'std::hash_set<_Kty>::__ctor' was declared deprecated
with
[
_Kty=std::string
]
and
[
_Kty=std::string
]
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\hash_set(258) : see declaration of
'std::hash_set<_Kty>::__ctor'
with
[
_Kty=std::string
]
and
[
_Kty=std::string
]
d:\VS_Project\thread_test\thread_test\MtHashSet.h(14) : while
compiling class-template member function
'Utills::MtHashSet<HashT>::MtHashSet(void)'
with
[
HashT=std::string
]
d:\VS_Project\thread_test\thread_test\global.h(6) : see
reference to class template instantiation 'Utills::MtHashSet<HashT>'
being compiled
with
[
HashT=std::string
]
Thx!
Best regards,
Zoran Stipanicev.
I get warning message shown below in VS.NET 2k3. Is this deprecated by
microsoft or by standard?
I need hash_set to store and search small strings (<20 chars long).
I'll have less then 300 strings, should I use some other stl conteiner?
d:\VS_Project\thread_test\thread_test\MtHashSet.h(14) : warning C4996:
'std::hash_set<_Kty>::__ctor' was declared deprecated
with
[
_Kty=std::string
]
and
[
_Kty=std::string
]
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\hash_set(258) : see declaration of
'std::hash_set<_Kty>::__ctor'
with
[
_Kty=std::string
]
and
[
_Kty=std::string
]
d:\VS_Project\thread_test\thread_test\MtHashSet.h(14) : while
compiling class-template member function
'Utills::MtHashSet<HashT>::MtHashSet(void)'
with
[
HashT=std::string
]
d:\VS_Project\thread_test\thread_test\global.h(6) : see
reference to class template instantiation 'Utills::MtHashSet<HashT>'
being compiled
with
[
HashT=std::string
]
Thx!
Best regards,
Zoran Stipanicev.