10 m_data(std::accumulate(idict.
begin(),idict.
end(),0,
11 boost::bind(std::
plus<int>(),_1,boost::bind(&std::string::
size,_2)))),
12 m_index(idict.
size(),1) {
17 boost::bind(std::less<std::string>(),
24 std::vector<char>::iterator
p=
m_data.begin();
36 return std::lexicographical_compare(rh.
b,rh.
b+rh.
l,lh.
b,lh.
b+lh.
l);
42 return (*
find(s)).ind;
46 return (*
find(s)).ind;
50 Frame sp(&s[0], s.size(),0);
56 Frame sp(s, ::strlen(s),0);
size_t index(std::string const &s) const
const_iterator end() const
std::vector< unsigned int > m_index
const_iterator begin() const
const_iterator find(std::string const &s) const
std::vector< char > m_data
bool operator()(SmallWORMDict::Frame const &rh, SmallWORMDict::Frame const &lh) const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
tuple size
Write out results.