[C++] Implement origin and flavor
3 files changed