Go to the documentation of this file.00001
00006 #include<my_lib/MaxPlus.hh>
00007
00008 using my_lib::MaxPlus;
00009
00010 int main() {
00011 MaxPlus<int> x(3),y(5);
00012 std::cout << x+y << std::endl;
00013 std::cout << x*y << std::endl;
00014 std::cin >> x;
00015 std::cout << x+y << std::endl;
00016 std::cout << x*y << std::endl;
00017 }