mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-16 18:56:52 +02:00
latest sources from main repository
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user