Menu

struct XXX does not have a constructor, false positive

Fraser
2016-05-28
2016-05-28
  • Fraser

    Fraser - 2016-05-28

    A false positive seems to have arisen with 1.73. Has this been reported?

    My code looks like this:

    template <>
    struct A<char> :
    std::unary_function<unsigned short,="" void="">,
    B<char> {
    explicit A(std::basic_ostream<char> &t) : a_(t) {}

    There is another constructor as well. I don't think the format of the constructor would be the problem.

     
  • Daniel Marjamäki

    don't know.. can you show a code example that reproduce the FP?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.