How to find all lines in code where inheritance take place? [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Is there any tool/static analysis tool/build in compiler or IDE tool that can find all lines of code where inheritance take place?
What I want to do is to find all inheritance cases and then check if base class have virtual destructor.

A global textual search for ":" will find all derived class definitions, however it will also have many false positives
A regex search for "(class|struct)\s+\S+\s+:" will cut down on most of the false positives

Related

Solution to generate globally unique identifiers in C++?

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 hours ago.
Improve this question
Is there a similar solution like "uuid" to generate globally unique identifiers in C++
A part from boost::uuid, is there any other alternative?
I need to get different ID for each execution.
Thank you
I tried searching on google but all I get is "uuid" solution, I need another solution.

RegExp online builder? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there a such a tool out there? I need to have one for parse something like [!790123] that has square brackets with "!" follow by any integer number.
Not online, but I generally use grep and then sed to build my regexps. If you have one that does coloured output it is very easy to see if it is getting the matches you want on some test data.

Enforce comments in function implementation [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I am looking for a way to enforce adding comments for code blocks inside functions. for example I want each for loop, if condition etc. to have one or two lines of comments describing what the code actually does.
I know Doxygen and I know it is not capable of doing this task. is there any other tool that can be used to give some information/metrics about the quality and amount of comments in function implementation?
What could be interesting is to search for methods with a high cyclomatic complexity(using many if,for,while,..) and not well commented, for that you can use CppDepend and execute a CQLinq request like this one:

List of all the symbols in namespace std [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
Where can i find a list of all the symbols declared in the namespace std?
I really cannot find it, I don't know where to look for.
It's not complete yet, but cppreference is working on building such a list.
See here: http://en.cppreference.com/w/cpp/symbol_index
There's a lot of them, but you can start here.

Symbolic Math Library in C/C++/Obj-C [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I am trying to implement a graphing calculator on the iPhone. I am looking for a library that can take strings of expressions or functions and let me manipulate them (find derivatives, intercepts, zeros, etc). Does anything like this exist?
There's GiNaC for C++. GPL-licensed and actively maintained, last update only a month ago. I found old links to many others that don't seem to exist anymore; perhaps people simply found it easier to use GiNaC?