Fixes #584 by the method detailed in the issue report.
Now builds appropriately with RCPP_NO_SUGAR defined.
Added copyright notice.
I think we can merge and it will be better if @dcdillon can add some change log.
Added news entry.
Modified inst/NEWS.Rd. Hope that's what you meant.
Pretty much every repo has a file ChangeLog. Thought you'd noticed ;-)
Must be blind. I looked! Fixing.
Merge remote-tracking branch 'upstream/master' into feature/no-sugar-…
Fixed conflict in ChangeLog
Fixed ChangeLog format
Would it be reasonable to add a 'no_sugar' plugin so this can be turned on easily on a per-source file basis?
Maybe. I don't think I'd have use for it. Why would you turn sugar off, and why can't a #define before #include <Rcpp.h> do it?
Just looks cleaner than arbitrarily sticking #define in your .cpp files. Not a huge issue, just a thought.
I turn sugar off to get better handling of matrix operations without causing ambiguities in operator calls.