Skip to content

Boost convert may have been broken by Parameter changes #39

Description

@eldiener

I am seeing failures with Boost convert on the 'develop' side, probably based on some change made to Parameter on the 'develop' branch, Testing Boost convert with gcc-8.1 I see:

In file included from performance.cpp:14:
....../boost/convert/stream.hpp:92:5: error: 'boost::cnv::basic_stream::this_type& boost::cnv::basic_stream::operator()(const type&)' cannot be overloaded with 'boost::cnv::basic_stream::this_type& boost::cnv::basic_stream::operator()(const type&)'
BOOST_CNV_PARAM(precision, int) { return (stream_.precision(arg[cnv::parameter::precision]), *this); }
^~~~~~~~~~~~~~~
....../boost/convert/stream.hpp:91:5: note: previous declaration 'boost::cnv::basic_stream::this_type& boost::cnv::basic_stream::operator()(const type&)'
BOOST_CNV_PARAM(precision, int const) { return (stream_.precision(arg[cnv::parameter::precision]), *this); }
^~~~~~~~~~~~~~~
In file included from ....../boost/convert/printf.hpp:8,
from performance.cpp:15:
....../boost/convert/base.hpp:85:5: error: 'derived_type& boost::cnv::cnvbase< >::operator()(const type&)' cannot be overloaded with 'derived_type& boost::cnv::cnvbase< >::operator()(const type&)'
BOOST_CNV_PARAM (precision, int) { precision_ = arg[ARG::precision]; return dncast(); }
^~~~~~~~~~~~~~~
....../boost/convert/base.hpp:84:5: note: previous declaration 'derived_type& boost::cnv::cnvbase< >::operator()(const type&)'
BOOST_CNV_PARAM (precision, int const) { precision_ = arg[ARG::precision]; return dncast(); }
^~~~~~~~~~~~~~~

as an example of errors. Can this be looked at to determine what change(s) in Parameter caused this problem with Boost convert ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions