Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 49957 invoked from network); 11 Jan 2007 20:02:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jan 2007 20:02:05 -0000 Received: (qmail 74239 invoked by uid 500); 11 Jan 2007 20:01:08 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 74220 invoked by uid 500); 11 Jan 2007 20:01:08 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 74192 invoked by uid 99); 11 Jan 2007 20:01:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 12:01:08 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2007 12:01:00 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 2E5301A981A; Thu, 11 Jan 2007 12:00:00 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r495356 - /incubator/stdcxx/trunk/tests/numerics/26.accumulate.cpp Date: Thu, 11 Jan 2007 20:00:00 -0000 To: stdcxx-commits@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070111200000.2E5301A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebor Date: Thu Jan 11 11:59:59 2007 New Revision: 495356 URL: http://svn.apache.org/viewvc?view=rev&rev=495356 Log: 2007-01-11 Martin Sebor * 26.accumulate.cpp (size_t): Qualifed with std:: since the type may not be declared in the global namespace (e.g., with Sun C++). Modified: incubator/stdcxx/trunk/tests/numerics/26.accumulate.cpp Modified: incubator/stdcxx/trunk/tests/numerics/26.accumulate.cpp URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/numerics/26.accumulate.cpp?view=diff&rev=495356&r1=495355&r2=495356 ============================================================================== --- incubator/stdcxx/trunk/tests/numerics/26.accumulate.cpp (original) +++ incubator/stdcxx/trunk/tests/numerics/26.accumulate.cpp Thu Jan 11 11:59:59 2007 @@ -6,23 +6,23 @@ * *************************************************************************** * + * 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 * - * Copyright 2006 The Apache Software Foundation or its licensors, - * as applicable. - * - * Copyright 2006 Rogue Wave Software. - * - * Licensed 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 + * 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. + * 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 2006 Rogue Wave Software. * **************************************************************************/ @@ -133,10 +133,10 @@ } }; -/* static */ size_t Y::n_total_op_plus_assign_; -/* static */ size_t* Y::op_plus_assign_throw_ptr_ = +/* static */ std::size_t Y::n_total_op_plus_assign_; +/* static */ std::size_t* Y::op_plus_assign_throw_ptr_ = &Y::op_plus_assign_throw_count_; -/* static */ size_t Y::op_plus_assign_throw_count_ = +/* static */ std::size_t Y::op_plus_assign_throw_count_ = std::size_t (-1); /**************************************************************************/