From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27086 invoked by alias); 11 Feb 2017 13:21:32 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 27073 invoked by uid 89); 11 Feb 2017 13:21:31 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=friend X-HELO: mail-yw0-f182.google.com Received: from mail-yw0-f182.google.com (HELO mail-yw0-f182.google.com) (209.85.161.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 11 Feb 2017 13:21:30 +0000 Received: by mail-yw0-f182.google.com with SMTP id l19so34032842ywc.2 for ; Sat, 11 Feb 2017 05:21:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=N6Mh8RK80kEKJAEugsy/5fYyTU1F//yLedlSNe/wUEY=; b=fovbp1bjB84a6U5GFbM9JvqkawzNDWP60gEU+CVg9HLKL2UWCRpYbxx3PEScknZ8Bt l36Y/M4Xj/EuQWFGhfwfg6i/UnVoPGXXFn4Dtl3zoUrFDDC3NO09uzireS/MhsngZg/n qfqgNe61ox8xfdUm3EBoBf6t94mVoqiAu7JWj9Q9ucalxRr5PM0xMgSnfhYjUA32FcgH ZMy5rfvsUqlbxo+DBdcYDUmWnkTI/sj37NecLBrLauU53ecv6DSC4tqCUdqwZe4XFJPR Y1hxLzdHjik4M5yoZt7dmYEZshPVeP7DH8DiFGMyEcG78edL9BHj/sQ2VI+J95vTd/ae TaiA== X-Gm-Message-State: AMke39mmXOFOOBdd6YQm4q2t/5VRbT++QQJH7yseA/BL4eo9YaMlXjAZheB4ErGzjt5QzSCXbjIS4/Uwha9cxA== X-Received: by 10.129.40.141 with SMTP id o135mr10028982ywo.149.1486819288680; Sat, 11 Feb 2017 05:21:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.178.13 with HTTP; Sat, 11 Feb 2017 05:21:28 -0800 (PST) In-Reply-To: References: <589E8ED2.5070903@codesourcery.com> From: Jonathan Wakely Date: Sat, 11 Feb 2017 13:21:00 -0000 Message-ID: Subject: Re: Doc question: is "templatized" a word? To: Gerald Pfeifer Cc: Sandra Loosemore , "gcc@gcc.gnu.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-02/txt/msg00034.txt.bz2 On 11 February 2017 at 08:48, Gerald Pfeifer wrote: > On Fri, 10 Feb 2017, Sandra Loosemore wrote: >> The documentation for -Wno-non-template-friend refers to "non-templatized >> friend functions" and "templatized functions". I don't see the term >> "templatized" used anywhere in the C++ standard. This paragraph also us= es >> "nontemplate function", which I assume refers to the same thing the C++ >> standard spells "non-template function". So does "non-templatized funct= ion" >> also mean "non-template function"? Or does it have some other meaning? > > I would avoid "templatized" and believe "non-template function" is > more appropriate in your example. Yes, s/non-templatized/non-template/ s/nontemplate/non-template/ s/templatized function/function template/ But I wonder if that warning is even useful nowadays. The example of "friend foo(int);" is bogus and is correctly rejected: fr.cc:2:17: error: ISO C++ forbids declaration of =E2=80=98foo=E2=80=99 wit= h no type [-fpermissive] friend foo(int); ^