Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark From: ark@alice.UucP (Andrew Koenig) Newsgroups: net.lang.c++ Subject: Re: Does 'inline' imply 'static'? Message-ID: <5221@alice.uUCp> Date: Sun, 30-Mar-86 11:22:36 EST Article-I.D.: alice.5221 Posted: Sun Mar 30 11:22:36 1986 Date-Received: Tue, 1-Apr-86 05:23:58 EST References: <10252@ucla-cs.ARPA> Organization: Bell Labs, Murray Hill Lines: 7 > If a function is declared "inline" in C++, does/should this mean that > the function is implicitly "static" (i.e., known only within the source > file in which it appears)? Nope. If you don't make it static as well, the compiler must generate conventional code for it as well as any inline expansions it does, in case it's called from another file.