Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | Related Pages | Search for

# t-eoBaseFunctions.cpp

    00001
    00002 #include <eoBaseFunctions.h>
    00003
    00004 #include <iostream>
    00005
    00006 using namespace std;
    00007
    00008 struct eo1 : public eoF<void>
    00009 {
    00010     void operator()(void) {}
    00011 };
    00012
    00013 struct eo2 : public eoF<int>
    00014 {
    00015     int operator()(void) { return 1; }
    00016 };
    00017
    00018 int main()
    00019 {
    00020     eo1 _1; _1();
    00021     eo2 _2;
    00022     int i = _2();
    00023
    00024     std::cout << i << '\n';
    00025     return i;
    00026 }