Finally I'll use the Boost libraries as well. Whahou!
But, I've got a question about the shared_ptr and its array version, the shared_array.
I want to transform the following code
in something like this:Code:myVariable* _data_service
How can I instantiate the array with a fixed value? This fixed value is necessary for my has tables.Code:_data_service = shared_array<myVariable>( ??? );
If not, I'll use an std::vector<shared_ptr> , but this seems more heavy than the Boost shared_array solution.