|
Boost : |
From: rajanikanth jammalamadaka (rajanik3_at_[hidden])
Date: 2001-10-18 16:49:59
Hi! Jim,
Could you please tell me why this code is not working:
#include <iostream>
#include <boost/any.hpp>
using namespace boost;
int main()
{
any holdsanything ;
holdsanything = 9;
std::cout<<holdsanything<<endl;
holdsanything = std::string("hello");
std::cout<<holdsanything<<endl;
return 0;
}
Thanks,
Raj
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk