|
Boost Users : |
From: hicks (hicks_at_[hidden])
Date: 2002-01-16 21:23:59
Hi
Thats very helpful, thanks.
Do you know why the compiler places precedence on that interpretation,
rather than on one giving an instatiation of a local variable?
Craig Hicks
Peter Dimov wrote:
>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.
>
>
>
>Info: <http://www.boost.org>
>Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
>Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>
[Non-text portions of this message have been removed]
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