[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppInline
inline is not supported in C.
To be preferred over #define [1]. Before doing this, understand the ins and outs of inlining [2].
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppInline
(C++) inline
Keyword enabling to prevent function call overhead.inline is not supported in C.
To be preferred over #define [1]. Before doing this, understand the ins and outs of inlining [2].
References
- 1) Scott Meyers. Effective C++ (3rd edition).ISBN: 0-321-33487-6. Item 2: 'Prefer consts, enums, and inlines to defines'.
- 2) Scott Meyers. Effective C++ (3rd edition).ISBN: 0-321-33487-6. Item 30: 'Understand the ins and outs of inlining'.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
