git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54609
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
CLASSEXP CLASSNAME \
{ \
public: \
CLASSEXP CLASSNAME \
{ \
public: \
+ typedef KEY_T first_type; \
+ typedef VALUE_T second_type; \
typedef KEY_T t1; \
typedef VALUE_T t2; \
typedef const KEY_T const_t1; \
typedef KEY_T t1; \
typedef VALUE_T t2; \
typedef const KEY_T const_t1; \
IntT max = 1;
max <<= sizeof(KeyT) * 8 - 2;
max -= count / 4 + 1;
IntT max = 1;
max <<= sizeof(KeyT) * 8 - 2;
max -= count / 4 + 1;
return max / count * 4 * i + i / 3;
}
return max / count * 4 * i + i / 3;
}
template <class HashMapT>
void HashMapTest()
{
template <class HashMapT>
void HashMapTest()
{
-#if wxUSE_STL && defined HAVE_STL_HASH_MAP
typedef typename HashMapT::value_type::second_type value_type;
typedef typename HashMapT::value_type::second_type value_type;
-#else
- typedef typename HashMapT::value_type::t2 value_type;
-#endif
typedef typename HashMapT::key_type key_type;
typedef typename HashMapT::iterator Itor;
typedef typename HashMapT::key_type key_type;
typedef typename HashMapT::iterator Itor;