Comments (5)
Facing this same issue. Any idea how this can be resolved?
from moxygen.
I have the same issue, suspect code below. Seems to have something to do with templates or overloads.
class IIndexBuffer
{
public:
virtual ~IIndexBuffer()
{}
template <typename T>
void UploadData(vector<T> const & Data);
virtual void UploadData(void const * Data, size_t const Elements, EValueType const ValueType) = 0;
};
from moxygen.
I believe this is the problem line, where memberdef.templateparamlist[0].param
is undefined.
Just an educated guess, though.
from moxygen.
I have the same issue... Any news about this?
from moxygen.
It seems to be template specialization :
struct Class{
template<typename Type> void member(const Type& input);
};
template <typename Type> void Class::member(const Type& input){}
template <> void Class::member(const std::string& input){}
doxygen generates the following xml for the specialization:
<memberdef kind="function" id="classClass[...]" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
<templateparamlist>
</templateparamlist>
<type>void</type>
[...]
As a workaround I transformed this into:
if (memberdef.templateparamlist.length > 0 && memberdef.templateparamlist.param) {
memberdef.templateparamlist[0].param.forEach(function (param, argn) {
m = m.concat(argn == 0 ? [] : ',');
m = m.concat([toMarkdown(param.type)]);
m = m.concat(param.declname ? [' ', toMarkdown(param.declname)] : []);
});
}
from moxygen.
Related Issues (20)
- Cyrillic characters in markdown table's titles
- Winston: Unexpected Token - dependency update? HOT 1
- Javascript Heap out of memory
- Update documentation
- Code blocks are always cpp
- Files and links contain -- for namespace::class
- command line option for link suffix and prefix.
- Cannot set property 'groupid' of undefined HOT 2
- Hide inline and access specifiers
- Support for member groups
- Customize label names
- Any plans for LaTeX support? HOT 3
- Can't generate private members HOT 1
- More than one level one header breaks MkDocs toc
- Moxygen NPM package is not the same as this repo
- Can moxygen support Objective-C language?
- Duplicate case label in src/parser.js
- Creating index file
- C 11/17/23 template
- Test fails
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 moxygen.