Skip to content

Commit d89ccce

Browse files
committed
Keep the valuable content of the 'Inline functions vs. macros' paragraph.
1 parent 91298f2 commit d89ccce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/cpp/inline-functions-cpp.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,10 @@ Assuming coordinate manipulation is a relatively common operation in a client of
202202

203203
- Return
204204

205+
## Inline functions vs. macros
206+
207+
inline functions are parsed by the compiler, and macros are expanded by the preprocessor.
208+
205209
## See also
206210

207211
[`noinline`](../cpp/noinline.md)\

0 commit comments

Comments
 (0)