Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-15 08:47:08


From: "hicks" <hicks_at_[hidden]>
> Dear boost users
>
> I am trying to use the boost tokenizer with Borland Builder C++ 5
compiler.
>
> This far compiles fine:
> boost::tokenizer<> tok(std::string(ac0));
>
> All further references to tok such as
> tok.assign(std::string(ac0))
> or
> tok.begin()
>
> result in an error message
> " Structure requires on the left side of . or .*"

boost::tokenizer<> tok(std::string(ac0));

declares a function named 'tok' that returns a boost::tokenizer<> and has
one parameter of type std::string named 'ac0'.

The parentheses around ac0 are ignored.

--
Peter Dimov
Multi Media Ltd.

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net