Fixed forward declartion incomplete type error in c++ example code
Merge pull request #214 from jburel/rebased/develop/dev_4_4

Fixed forward declartion incomplete type error in c++ example code (rebased onto develop)