Boost logo

Boost Users :

From: Smith, Lloyd (Lloyd.Smith_at_[hidden])
Date: 2007-12-20 17:13:24


The following negation gives the error messages below (VS2005).
Negation is OK if no action is given. Is there any way to enable an
action on a negated character parser?

 

+(~ch_p(L';')[push_back_a(variableName)])

 

error C2678: binary '~' : no operator found which takes a left-hand
operand of type 'boost::spirit::action<ParserT,ActionT>' (or there is no
acceptable conversion)

 

Lloyd Smith

Senior Architect, Development

CA, Inc.

tel: +1 858 625-6869

tel: +1 858 538-1189 (home)

mailto:lloyd.smith_at_[hidden] <mailto:lloyd.smith_at_[hidden]>

 

 



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