changed Awk to use HashTable instead of htb.

added Cstr, Mcstr, Wcstr.
changed Awk not to use in-class placement new in allocating a value
This commit is contained in:
2015-03-11 13:33:23 +00:00
parent cb62c4ecd1
commit a212a8ebf2
14 changed files with 339 additions and 84 deletions

View File

@ -39,7 +39,7 @@ struct HashListHasher
{
qse_size_t operator() (const T& v) const
{
return v.hashCode();
return v.getHashCode();
}
};

View File

@ -39,7 +39,7 @@ struct HashTableHasher
{
qse_size_t operator() (const T& v) const
{
return v.hashCode();
return v.getHashCode();
}
};

View File

@ -49,6 +49,8 @@ QSE_BEGIN_NAMESPACE(QSE)
class QSE_EXPORT HeapMmgr: public Mmgr, public Mmged
{
public:
HeapMmgr (qse_size_t heap_size);
/// The constructor function accepts an memory manager \a mmgr that
/// is used to create a heap of the size \a heap_size.
HeapMmgr (Mmgr* mmgr, qse_size_t heap_size);