why using ... unused in BOOST_SPIRIT_DEFINE_ macro

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

why using ... unused in BOOST_SPIRIT_DEFINE_ macro

cppljevans
Because unused appears nowhere else in the function body,
I was wondering What's the purpose of:

https://github.com/boostorg/spirit/blob/develop/include/boost/spirit/home/x3/nonterminal/rule.hpp#L163

?


------------------------------------------------------------------------------
_______________________________________________
Spirit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/spirit-devel
Reply | Threaded
Open this post in threaded view
|

Re: why using ... unused in BOOST_SPIRIT_DEFINE_ macro

cppljevans
On 07/31/2016 03:23 PM, Larry Evans wrote:
> Because unused appears nowhere else in the function body,
> I was wondering What's the purpose of:
>
> https://github.com/boostorg/spirit/blob/develop/include/boost/spirit/home/x3/nonterminal/rule.hpp#L163
>
> ?

Never mind.  It's *obviously* there:

https://github.com/boostorg/spirit/blob/develop/include/boost/spirit/home/x3/nonterminal/rule.hpp#L165

I don't know how I missed that :(




------------------------------------------------------------------------------
_______________________________________________
Spirit-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/spirit-devel