Skip to main content
gamedev.net
🔒 Locked

Inline functions

Started by JohnsonGPS 0 replies 300+ views
Original Post
JohnsonGPS
JohnsonGPS
I am recently working on a long-existing c++ project with mixed inline functions, consts, struct, and enums together. In the software, data sync in the header files is criticle since there are lots of conversion involving with the data location. Danny mentioned inline functions may cause the data out of sync. http://forums.devx.com/showthread.php?t=148100&goto=nextnewest According to my experience, he was right. I just would like to know how the inline functions actually caused the data out of sync. Could anybody please provide more insights? Thanks in advance. Johnson

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.