CppCtor

Represent a C++ constructor.

The construction of CppCtor is simplified in the example.

Constructors

this
this(USRType usr, CppMethodName name, CxParam[] params, CppAccess access)
Undocumented in source.

Members

Functions

accessType
auto accessType()
Undocumented in source. Be warned that the author may not have intended to support it.
name
auto name()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(Writer w, FormatSpec!Char fmt)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin mixinCommentHelper
Undocumented in source.
__anonymous
mixin mixinUniqueId!size_t
Undocumented in source.
__anonymous
mixin CppMethodGeneric.Parameters
Undocumented in source.

Variables

usr
Nullable!USRType usr;
Undocumented in source.

Mixed In Members

From mixin CppMethodGeneric.Parameters

put
void put(CxParam p)
Undocumented in source. Be warned that the author may not have intended to support it.
paramRange
auto paramRange()
Undocumented in source. Be warned that the author may not have intended to support it.

Examples

class A {
public:
   A();      // CppCtor("A", null, Public);
   A(int x); // CppCtor("A", ["int x"], Public);
};

Meta