Comment.this

Construct a comment

class Comment
@safe pure
this
(
string content
)

Parameters

content string

the body of the comment

Throws

CommentException if the comment body is illegal (contains "--" or exactly equals "-")

Examples

auto item = new Comment("This is a comment");
   // constructs <!--This is a comment-->

Meta