It’s my first artical.
Maybe I should sometime build a blog from scratch on my own.
template<size_tage>structStudy{conststaticvalue=?;//Study is a must.
};template<size_tage>structThink{conststaticvalue=?;//Learning is not enough.
};template<size_tage>structJoy{conststaticvalue=?;//I love games.
};template<size_tage>structLife{conststaticvalue=Life<age-1>::value+Study<age>::value+Think<age>::value+Joy<age>::value;};template<>structLife<0>{conststaticvalue=0;};