Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Niefer2005-04-06 15:01:04 +0000
committerAndrew Niefer2005-04-06 15:01:04 +0000
commitd4891a2e74c5e97430e32bd76373398420e02cb4 (patch)
tree88bf0bd399d730f8cde57690e7805bc8d2a3e447 /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPConstructorTemplate.java
parent627c60e1810f8fdcb353cbb397910ba9872e04ca (diff)
downloadorg.eclipse.cdt-d4891a2e74c5e97430e32bd76373398420e02cb4.tar.gz
org.eclipse.cdt-d4891a2e74c5e97430e32bd76373398420e02cb4.tar.xz
org.eclipse.cdt-d4891a2e74c5e97430e32bd76373398420e02cb4.zip
Templates
- better handling of function templates - basic handling of class specializations - The binding for a templated declaration is now a ICPPTemplateDefinition itself instead of being a normal binding owned by a template definition.
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPConstructorTemplate.java')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPConstructorTemplate.java41
1 files changed, 41 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPConstructorTemplate.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPConstructorTemplate.java
new file mode 100644
index 00000000000..a8e13fbc647
--- /dev/null
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/cpp/CPPConstructorTemplate.java
@@ -0,0 +1,41 @@
+/**********************************************************************
+ * Copyright (c) 2005 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors:
+ * IBM - Initial API and implementation
+ **********************************************************************/
+/*
+ * Created on Mar 31, 2005
+ */
+package org.eclipse.cdt.internal.core.dom.parser.cpp;
+
+import org.eclipse.cdt.core.dom.ast.IASTName;
+import org.eclipse.cdt.core.dom.ast.cpp.ICPPConstructor;
+
+/**
+ * @author aniefer
+ */
+public class CPPConstructorTemplate extends CPPMethodTemplate implements
+ ICPPConstructor {
+
+ /**
+ * @param name
+ */
+ public CPPConstructorTemplate(IASTName name) {
+ super(name);
+ // TODO Auto-generated constructor stub
+ }
+
+ /* (non-Javadoc)
+ * @see org.eclipse.cdt.core.dom.ast.cpp.ICPPConstructor#isExplicit()
+ */
+ public boolean isExplicit() {
+ // TODO Auto-generated method stub
+ return false;
+ }
+
+}

Back to the top