Boost logo

Boost :

From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2002-10-17 10:28:13


I implemented unary and binary function calls for dynamic_any.
New version can be download from:
http://prdownloads.sourceforge.net/cpp-experiment/dynamic_any-1.0.0-beta.tar.gz?download
There is no documentation yet, only examples.

example1:
  Basic usage of dynamic_any. Compiled under g++ 3.2 and Intel 6.0.
  Executable created by Intel C++ compiler crashes.

example2:
  Support for dynamic_any comparison (using std::less)
  and output to ostream. dynamic_any values stored in
  a set and then outputed to cout. Compiled under g++ 3.2.
  Under Intel C++ compiler compilation fails.

example3:
  Extraction with derived-to-base conversion using
  standard exception hierarchy. Compiled under g++ 3.2
  and Intel 6.0.

Library becomes larger and larger. May be it should be put
into nested namespace and split on several files?
Something like this:

boost/dynamic/any.hpp - dynamic_any itself
boost/dynamic/function.hpp - bases for user-defined functions
boost/dynamic/functions.hpp - standard functions (comparison, streaming ...)

Best regards,
Alexander Nasonov
mailbox: alnsn
server: mail.ru


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