🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.g++.help
Article #90

Inline

#90
From: Garbett, Shawn
Date: Thu, 23 Jul 1992 17:56
7 lines
764 bytes
What's the proper way to declare an inline function in a .h file?
I prefixed a function with inline and got all kinds of errors when
I put the .o into an archive. Just a small example would be great,
especially one that would be compatible with an archive (.a) .

Garbett@utkvx.utk.edu
.
Technical Details
Message-ID: <23JUL199212562328@utkvx4.utk.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!swrinde!gatech!willis.cis.uab.edu!utkcs2!utkux1.utk.edu!utkvx4.utk.edu!garbett

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!elroy.jpl.nasa.gov!swrinde!gatech!willis.cis.uab.edu!utkcs2!utkux1.utk.edu!utkvx4.utk.edu!garbett
From: garbett@utkvx4.utk.edu (Garbett, Shawn)
Newsgroups: gnu.g++.help
Subject: Inline
Message-ID: <23JUL199212562328@utkvx4.utk.edu>
Date: 23 Jul 92 17:56:00 GMT
Sender: usenet@utkux1.utk.edu (USENET News System)
Organization: University of Tennessee Computing Center
Lines: 7
News-Software: VAX/VMS VNEWS 1.41