Hi Everyone, Please take a look at the following and let me know what you think: "Use of static inline functions in headers may violate ODR and lead to UB", http://github.com/weidai11/cryptopp/issues/127 .
Note that the ODR arises in a very specific condition... Namely, the function is declared as "static" and "inline" in a header (*.H file), and the definition (i.e., implementation) is in the header, too. I don't believe it extends to a declaration in a header (*.H) with a definition in a source file (*.CPP). Jeff -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
