Skip to main content
GameDev.net gamedev.net
🔒 Locked

Storagetype?

Started by dathui Jan 28, 2004 at 10:17 PM 1 replies 300+ views
Original Post
dathui
dathui
I''ve implemented a messagesystem for objects to send stuff to each other, but i''ve got a problem with how to store parameters. For the moment im using void** to store and an int* to save the size of each void* in...but im wondering if there isn''t any easier way. I have to be able to save anything...pointers, objects, pods..so i dont think any of the stl-containers would be useful :/
reality is only an option
dathui
dathui
quote:
Original post by SiCrane
Did you consider boost::any?


I have considered it but i would prefer not to use boost.
reality is only an option

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.