|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.learn - How to handle public: inside DDOC example section ?
The following code
<snip>
/++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
Some description
Example:
--------------------------
import std.cstream;
// define a class inside example section
class Example
{
public:
int id;
this(int _id)
{
id = _id;
}
~this()
{
}
}
--------------------------
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/
void main()
{
}
</snip>
produces incorrect html documentation. I guess the "public:" line is
expected to be a DDOC macro. Anyone knows how to handle this ?
With kind regards
Klaus
Oct 21 2005
"Klaus Oberhofer" <oberhofer users.sourceforge.net> wrote in message news:Xns96F67B56CEF3CC3DEE85C66A248c79606 63.105.9.61... Oct 21 2005
Walter Bright wrote:"Klaus Oberhofer" <oberhofer users.sourceforge.net> wrote in message news:Xns96F67B56CEF3CC3DEE85C66A248c79606 63.105.9.61... Oct 24 2005
On Fri, 21 Oct 2005 19:41:19 -0400, Walter Bright <newshound digitalmars.com> wrote:"Klaus Oberhofer" <oberhofer users.sourceforge.net> wrote in message news:Xns96F67B56CEF3CC3DEE85C66A248c79606 63.105.9.61... Oct 24 2005
|