~unity-team/v8-cpp/trunk

« back to all changes in this revision

Viewing changes to test/myobject.h

  • Committer: Marcus Tomlinson
  • Date: 2015-06-10 06:20:49 UTC
  • Revision ID: marcus.tomlinson@canonical.com-20150610062049-7zzi09xfldhch0l5
Added FindNode.cmake

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
private:
51
51
    double value_;
52
52
};
 
53
 
 
54
struct MyStruct
 
55
{
 
56
    bool bool_value;
 
57
    int int_value;
 
58
    std::string string_value = "hello";
 
59
 
 
60
    void output()
 
61
    {
 
62
        std::cout << string_value << std::endl;
 
63
        std::cout.flush();
 
64
    }
 
65
};