Boost logo

Boost :

From: christopher diggins (cdiggins_at_[hidden])
Date: 2005-08-24 19:19:14

Since there has been interest in making changes to boost::any, I thought I
would suggest a couple of new types which would be appropriate for the any
namespace, which I find useful and use commonly.

- A typed_any. This is a type very similar to any with the added restriction
that it can not be reset, it must be initialized with a type, and once
initialized it can only hold values of that type. I am using a homegrown
version an interpreter for a strongly typed scripting language

- any_ptr. The name says it all.

Anyone else interested in these types?

Christopher Diggins

Boost list run by bdawes at, gregod at, cpdaniel at, john at