Take a look at the separator character that appears in the data file. My
recollection is that there's a mismatch between the tokenizer separator
specified in the example, and that used in the data file.
- Chris
----- Original Message -----
From: "Nicolas Guilhot"
Newsgroups: gmane.comp.lib.boost.user
Sent: Friday, June 07, 2002 10:14 AM
Subject: [BGL] Problem with kevin-bacon sample
Hi all,
I compiled the kevin-bacon sample on a linux box without any problem, but
when I try to run the program, I obtain an error output instead of what is
expected. Any help would be appreciated. Here is the output off the program
:
kevin-bacon: /boost_1_27_0/boost/token_iterator.hpp:75: void
boost::detail::tokenizer_policy::increment (Iterator &)
[with Iterator =
boost::iterator_adaptor,
boost::detail::tokenizer_policy >, boost::char_delimiters_separator >, basic_string >, const basic_string > &, const
basic_string > *, forward_iterator_tag, ptrdiff_t>, Type = basic_string >, TokenizerFunc
= boost::char_delimiters_separator]:
Assertion `b.base().valid_' failed.
Abandon
Thanks for any answer.
Nicolas