#include #include #include "atom.h" using namespace std; int main() { const atom<1> h; const atom<2> he; const atom<8> o; cout << "H belongs to period " << atom<1>::period() << ".\n"; cout << "He belongs to period " << atom<2>::period() << ".\n"; cout << "O belongs to period " << atom<8>::period() << ".\n"; return EXIT_SUCCESS; }