robtillaart:
the simplest solution I can think of is to provide two libraries but that is a burden for the developer.Another way is to use a templates. A very short intro see
- http://www.cplusplus.com/doc/tutorial/templates/ - at the end of the page
or- C++ Templates -
Thanks for the references! My c++ experience predates the inclusion of templates in the language, and I have never had a need for that feature before. I will look at the references provided and see about incorporating that solution into the library.