[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Inline function in header depends on config.h

From: William Turner
Subject: Inline function in header depends on config.h
Date: Tue, 11 Jan 2005 14:15:33 -0500

Dear autoconf experts!

I have a member function of a class in a library that, for performance reasons, needs to be inline, and therefore needs to be in the header file. However, the operation of the function depends on the contents of config.h, which is not installed when the library is, presenting difficulty when a user of the library needs to make use of the inlined function. What's the best way to resolve this, keeping in mind that the performance improvement of making the function inline is big enough that not having it inline is not an option?

William Turner
Technical Staff
Princeton Satellite Systems
33 Witherspoon Street
Princeton, NJ 08542

reply via email to

[Prev in Thread] Current Thread [Next in Thread]