outputting

So using templates, I'm supposed to output the following: [56][343][23][12][676] ] This is what I have so far, confused on how to do this. Any help appreciated.

1
2
3
4
5
6
class pizza;
public:
  template <pizza T>
T<int> (T a, T b, T c, T d, T e){
  std::cout << "[56][343][23][12][676]" << std::endl;
This is what int main() will call it by: const pizza<int> pizza1(5, "pizza1");
Topic archived. No new replies allowed.