latest sources from main repository

This commit is contained in:
Guenter Obiltschnig
2007-06-13 15:13:29 +00:00
parent 0b2b989a95
commit 9913f74f8d
44 changed files with 1891 additions and 239 deletions

View File

@@ -1,7 +1,7 @@
//
// DynamicAny.h
//
// $Id: //poco/Main/Foundation/include/Poco/DynamicAny.h#8 $
// $Id: //poco/Main/Foundation/include/Poco/DynamicAny.h#9 $
//
// Library: Foundation
// Package: Core
@@ -162,6 +162,14 @@ public:
throw BadCastException();
}
DynamicAny& operator = (const DynamicAny& other)
/// Assignment operator
{
DynamicAny tmp(other);
swap(tmp);
return *this;
}
template <typename T>
DynamicAny& operator = (const T& other)
/// Assignment operator