Conversation
|
This patch fails on C++03, because you need to provide a body for the function in the case that the compiler doesn't support So, for example, if you have: you can't just add: Instead, you need to say something like: |
674f3e9 to
8d85163
Compare
|
Thanks for the explanation @mclow - working on it. |
8d85163 to
371d145
Compare
Add implementation to various BOOST_DEFAULTED_FUNCTION. Fixed various BOOST_DEFAULTED_FUNCTION. Fixed various BOOST_DEFAULTED_FUNCTION when more than one reference is used.
371d145 to
06b7305
Compare
|
I had to drop three BOOST_DEFAULTED_FUNCTION() declarations (but commented this) to avoid "Uninitialized reference member" errors. Unfortunately the initializer list can only take one parameter, when using BOOST_DEFAULTED_FUNCTION. |
|
I have also been trying to fix couple of these warnings in #154 (but less than this pull request). Would it be possible to consider one of these pull request ? Also, i know some boost libraries dropped C++03 support in recent releases, I don't know if this is the case of boost iostream too. |
Fixes several deprecated-copy warnings by using the BOOST_DEFAULTED_FUNCTION() macro.