Comments (4)
- Can you please attach a, small, self contained example (source+configuration file in a, compressed, tar or zip file!) that allows us to reproduce the problem? Please don't add external links as they might not be persistent (also references to GitHub repositories are considered non persistent).
- Please also specify the full doxygen version used (
doxygen -v
).
from doxygen.
@albert-github : I can't, because this is not a problem, it's a feature request. But I will attach a couple of source files in which this feature could be used. See edit of first post.
from doxygen.
I can't, because this is not a problem, it's a feature request. But I will attach a couple of source files in which this feature could be used. See edit of first post.
Well you managed to add a nice example to the original post that can be used as a starting point to see what is necessary / wanted.
I looked at the classes example and here I see that the functions bar
and quux
don't have the same signature as they return a different type of argument (A&
and B&
). Can't this problem be implemented with templates and sub / super classes?
from doxygen.
I looked at the classes example and here I see that the functions bar and quux don't have the same signature as they return a different type of argument (A& and B&). Can't this problem be implemented with templates and sub / super classes?
With templates - yes and no, because if A becomes MyClass<0> and B becomes MyClass<1>, specialized differently - the respective methods would still need to return MyClass<0>& and MyClass<1>& respectively; and those are two different return types. Even if one managed to phrase them the same way, e.g. via static constexpr const the_template_argument
which gets 0 or respectively 1, and a method returning MyClass<the_teplate_argument> - it's still a different class.
As for using superclasses - that won't help, because then you can't use methods of the subclass, i.e. I want to write something like make_an_A().bar(123).foo()
(builder pattern).
I was assuming that name + parameters should be enough for referencing in doxygen (i.e. @ref
, @copydoc
, @copyparam
, etc. etc.)
from doxygen.
Related Issues (20)
- GENERATE_HTMLHELP=YES with GENERATE_LATEX=YES and \msc comments adds the .EPS files to index.hhp HOT 1
- Inherited template typedef does not extend template instantiation HOT 2
- Template class that derives from template parameter is excluded from the implements/re-implements function documentation HOT 1
- Macro define a class name to a different one causes extra whitespace to appear HOT 4
- CREATE_SUBDIRS and C++20 modules: Doxygen doesn't create directories HOT 2
- Comment in group ignored if it does not belong to member HOT 1
- Doxygen generated index.hhc has incorrect anchor for enum HOT 9
- C# cref or \ref doesn't work without full namespace, even for classes in same namespace HOT 4
- error: '::utimensat' has not been declared; did you mean 'utimes'? HOT 2
- Provide the ability to sort implemented/re-implemented list HOT 2
- How to name root node in NavTree, as given by README.md HOT 7
- Add a "Run" menu item key-command to DoxyWizard HOT 5
- First element of enum is not properly copied by @addtogroup HOT 2
- \addindex in *.sas program not working for LaTeX HOT 2
- Failed to build "master" branch HOT 9
- Spurious links generated for C++ keywords and template parameters HOT 3
- Explicit C# event mistaken for property HOT 3
- Create ALIAS with argument for plantUML graph HOT 3
- Type alias definition in class template linked to name in incorrect scope
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doxygen.