envire / envire-envire_core

Core part for the Environment Representation library
BSD 2-Clause "Simplified" License
7 stars 13 forks source link

A possible way to allow item to allocate objects that require parameters in the constructor #2

Closed Rauldg closed 9 years ago

Rauldg commented 9 years ago

Some objects that are stored in the Item class might need parameters in the constructor. This commit includes the changes in Item.hpp to allow so and also a small test.

saarnold commented 9 years ago

Good point :+1: But you currently only test if it compiles, I would also add one test to check if the forwarding works.

Rauldg commented 9 years ago

Hey @saarnold I added tests.