Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2006-02-09 20:10:16


Tobias Schwinger wrote:
> Tobias Schwinger wrote:
>
>> namespace boost { namespace spirit {
>>
>> struct msvc_workaround { };
>> int operator+(msvc_workaround) { return 0; }
>>
>> } }
>>
>

VVVV

>
> For the protocol:
>
> Better (Spirit-specific) solution: add overloads for character & string literals
> (they should be there at least for the sake of completeness).

^^^^ nonsense (at least in this case): an arithmetic operator can't be overloaded for an arithmetic type...


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk