![]() ![]() And I have tried some template magic to do it something like the following, where CreateString, ConstructString & DestroyString are stand in functions and the data is stand in as well for something a bit more complex that uses a type database to handle object construction. To figure out if an object is a vector or a map, and what the parameter arguments for the object is. ![]() ![]() I can do some regex magic on the return of typeid( object ).name() and the phrases would be mapped by an id or somethingĬan be supported. for real world usage it would probably not be structured like this Vectors are just the right design materials for the job. I'm using template functions for object construction to create objects from reflection data, and it works pretty well, but now I want to support STL container types in the reflection system so that objects such as: // Note - test case only 5101+ FREE & Premium Vector Images - Download NOW Beautifully Designed, Easily Editable Templates to Get your Work Done Faster & Smarter. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |