- changed milestone to 2017.09.30 release
- changed component to General
Add programmatic version identification
Issue #20
resolved
The UPCXX headers should include versioning macros somewhere in the headers (probably upcxx.hpp) that client code can test programmatically to identify the release and infer what features are available.
The simplest approach here would be just a straight #define that we increment on every official release, eg:
#define UPCXX_VERSION 1
or alternatively a date-style version:
#define UPCXX_VERSION 20170901
More complicated schemes to provide separate major/minor/patch version numbers, or even feature macros to identify the availability of specific features are also possible. The latter might eventually become useful if some of our corner features are only implemented on a subset of platforms or compilers.
Comments (2)
-
reporter -
- changed status to resolved
added version id to upcxx.hpp
- Log in to comment