Boost logo

Boost :

From: John Torjo (john.lists_at_[hidden])
Date: 2005-07-19 15:09:35


>
> Introductions aside, I would like to ask whether a generic object
> factory implementation would be best put in a framework or a library.
> What I am looking for is something to the effect of the Spring [1]
> framework but in C++. With the issues like late/dynamic binding having
> many different implementations in many different platforms, the best I
> could conceptualize is a static template for different object types.
>

I've also implemented something of a smaller scale, when implementing
reflection for win32gui.

You can take a look at:
http://www.torjo.com/win32gui/
(download v1.6.6. or v1.6.7)

Then, take a look at reflection/detail/runtime_class.hpp

Best,
John

-- 
John Torjo,    Contributing editor, C/C++ Users Journal
-- "Win32 GUI Generics" -- generics & GUI do mix, after all
-- http://www.torjo.com/win32gui/ -v1.6.3 (Resource Splitter)
-- http://www.torjo.com/cb/ - Click, Build, Run!

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk