/// <summary> /// Constructor with the specified type kind. /// </summary> /// <param name="typeKind"></param> protected CppType(CppTypeKind typeKind) { TypeKind = typeKind; }
protected CppTypeWithElementType(CppTypeKind typeKind, CppType elementType) : base(typeKind) { ElementType = elementType ?? throw new ArgumentNullException(nameof(elementType)); }
protected CppTypeDeclaration(CppTypeKind typeKind) : base(typeKind) { }