Bug Report - Function List

2007-07-31
2012-11-14
  • Nobody/Anonymous

    I have this function:

    bool get_sel_types ( std::vector<std::string> &vs_sel_name,
                         std::vector<std::string> &vs_rename,
                         const std::string        &str = "filename.txt" ) {
        std::ifstream in( str.c_str() );

        if ( in ) {
            // Do secret stuff here

            in.close();
            return true;
        }

        in.close();
        return false;
    }

    And the name the function list gives the above function is "if". I'm assuming this has to do with the default value of the string, str, as an optional parameter when called. I don't know if this bug has been discovered before ... so I thought I'd let ye know about it.

    XP, Nopepad++ v1.4.2, Function list v1.2

     
    • Nobody/Anonymous

      Sorry.

      Language - C++, obviously.

       
    • steakhacher

      steakhacher - 2007-07-31

      Hi there is a new alpha version of function list 2.0 that you can download at http://sourceforge.net/project/showfiles.php?group_id=189927 which is very more powerful, so you can try if there is again the problem

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks