Hi,
first of all thanks a lot for a great library!
I have a build problem on MS VS 2005 for the following code:
typedef patl::trie_set<std::wstring> Wstring_set;
typedef patl::levenshtein_distance<Wstring_set, true> Leven_dist;
Wstring_set dict;
^-- this line gives template instantiation error in debug build which
happens algorithm_generic::compact():
word_t compact() const
{
return
#ifdef PATL_ALIGNHACK
qq_;
#else
qid_ | q_; <- here it fails, presumably because qid_ and q_
have incompatible types (int and pointer?)
#endif
}
With PATL_ALIGNHACK it works fine. I didn't try it with anything else than
wstring so I don't know if this is wstring-specific.
Original issue reported on code.google.com by vkol...@gmail.com on 18 Jul 2009 at 8:39
Original issue reported on code.google.com by
vkol...@gmail.com
on 18 Jul 2009 at 8:39