I am planning to write library using c++ for topics in Artificial Intelligence. I would like to know what are the things I need keep in my mind when writing library? Right now I am learning "Effective C++" book for optimising code.