I am wondering if I need to define my inline functions in the correct order to get the full benefits of inlining. In the following code, will g++ inline the function b() within a()?
inline void a ()
{
b();
}
inline void b ()
{
do_something();
}
Or do I need to reorder them in the source file?
Thanks,
Mike
_______________________________________________
help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus
