
20 Jul
2009
20 Jul
'09
2:28 p.m.
On Mon, Jul 20, 2009 at 4:33 AM, Edouard A.<edouard@fausse.info> wrote:
On Mon, 20 Jul 2009 17:25:11 +0800, <jon_zhou@agilent.com> wrote:
any design patterns implementation in boost?
such as ,singleton,object factory,etc?
If you are refering to the gang of 4 book, you have the flyweight design pattern.
http://www.boost.org/doc/libs/1_39_0/libs/flyweight/doc/index.html
And visitor (see boost::variant). Obviously iterator is implemented by boost, and boost also has state machines implementing the State pattern.