Author: vitek
Date: Thu Jun  5 15:02:15 2008
New Revision: 663757

URL: http://svn.apache.org/viewvc?rev=663757&view=rev
Log:
2008-06-05  Travis Vitek  <[EMAIL PROTECTED]>

        * etc/config/src/RVALUE_REFERENCES.cpp: Add new config test to
        check for rvalue-reference support.
        * etc/config/src/VARIADIC_TEMPLATES.cpp: Add new config test to
        check for variadic template support.

Added:
    stdcxx/branches/4.3.x/etc/config/src/RVALUE_REFERENCES.cpp   (with props)
    stdcxx/branches/4.3.x/etc/config/src/VARIADIC_TEMPLATES.cpp   (with props)

Added: stdcxx/branches/4.3.x/etc/config/src/RVALUE_REFERENCES.cpp
URL: 
http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/etc/config/src/RVALUE_REFERENCES.cpp?rev=663757&view=auto
==============================================================================
--- stdcxx/branches/4.3.x/etc/config/src/RVALUE_REFERENCES.cpp (added)
+++ stdcxx/branches/4.3.x/etc/config/src/RVALUE_REFERENCES.cpp Thu Jun  5 
15:02:15 2008
@@ -0,0 +1,25 @@
+// checking for rvalue reference support
+
+/***************************************************************************
+ *
+ * Licensed to the Apache Software  Foundation (ASF) under one or more
+ * contributor  license agreements.  See  the NOTICE  file distributed
+ * with  this  work  for  additional information  regarding  copyright
+ * ownership.   The ASF  licenses this  file to  you under  the Apache
+ * License, Version  2.0 (the  License); you may  not use  this file
+ * except in  compliance with the License.   You may obtain  a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the  License is distributed on an  "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+ * implied.   See  the License  for  the  specific language  governing
+ * permissions and limitations under the License.
+ *
+ * Copyright 1999-2008 Rogue Wave Software, Inc.
+ * 
+ **************************************************************************/
+
+void foo (int&& i) { }

Propchange: stdcxx/branches/4.3.x/etc/config/src/RVALUE_REFERENCES.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: stdcxx/branches/4.3.x/etc/config/src/RVALUE_REFERENCES.cpp
------------------------------------------------------------------------------
    svn:keywords = Id

Added: stdcxx/branches/4.3.x/etc/config/src/VARIADIC_TEMPLATES.cpp
URL: 
http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/etc/config/src/VARIADIC_TEMPLATES.cpp?rev=663757&view=auto
==============================================================================
--- stdcxx/branches/4.3.x/etc/config/src/VARIADIC_TEMPLATES.cpp (added)
+++ stdcxx/branches/4.3.x/etc/config/src/VARIADIC_TEMPLATES.cpp Thu Jun  5 
15:02:15 2008
@@ -0,0 +1,29 @@
+// checking for variadic templates
+
+/***************************************************************************
+ *
+ * Licensed to the Apache Software  Foundation (ASF) under one or more
+ * contributor  license agreements.  See  the NOTICE  file distributed
+ * with  this  work  for  additional information  regarding  copyright
+ * ownership.   The ASF  licenses this  file to  you under  the Apache
+ * License, Version  2.0 (the  License); you may  not use  this file
+ * except in  compliance with the License.   You may obtain  a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the  License is distributed on an  "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+ * implied.   See  the License  for  the  specific language  governing
+ * permissions and limitations under the License.
+ *
+ * Copyright 1999-2008 Rogue Wave Software, Inc.
+ * 
+ **************************************************************************/
+
+template <class... Types> class foo { };
+
+foo<> t0;
+foo<int> t1;
+foo<int, float> t2;

Propchange: stdcxx/branches/4.3.x/etc/config/src/VARIADIC_TEMPLATES.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: stdcxx/branches/4.3.x/etc/config/src/VARIADIC_TEMPLATES.cpp
------------------------------------------------------------------------------
    svn:keywords = Id


Reply via email to