aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/Foundation/include/Poco/Void.h
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/poco/Foundation/include/Poco/Void.h
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/poco/Foundation/include/Poco/Void.h')
-rw-r--r--contrib/libs/poco/Foundation/include/Poco/Void.h146
1 files changed, 73 insertions, 73 deletions
diff --git a/contrib/libs/poco/Foundation/include/Poco/Void.h b/contrib/libs/poco/Foundation/include/Poco/Void.h
index 51dd1d3986..fa0cd31afd 100644
--- a/contrib/libs/poco/Foundation/include/Poco/Void.h
+++ b/contrib/libs/poco/Foundation/include/Poco/Void.h
@@ -1,73 +1,73 @@
-//
-// Void.h
-//
-// Library: Foundation
-// Package: Core
-// Module: Void
-//
-// Definition of the Void class.
-//
-// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
-// and Contributors.
-//
-// SPDX-License-Identifier: BSL-1.0
-//
-
-
-#ifndef Foundation_Void_INCLUDED
-#define Foundation_Void_INCLUDED
-
-
-#include "Poco/Foundation.h"
-
-
-namespace Poco {
-
-
-class Foundation_API Void
- /// A dummy class with value-type semantics,
- /// mostly useful as a template argument.
- ///
- /// This class is typically used together with ActiveMethod,
- /// if no argument or return value is needed.
-{
-public:
- Void();
- /// Creates the Void.
-
- Void(const Void& v);
- /// Creates the Void from another Void.
- ///
- /// The philosophical aspects of this operation
- /// remain undiscussed for now.
-
- ~Void();
- /// Destroys the Void.
-
- Void& operator = (const Void& v);
- /// Assigns another void.
-
- bool operator ==(const Void& v) const;
- /// Will return always true due to Voids having no members.
-
- bool operator !=(const Void& v) const;
- /// Will return always false due to Voids having no members.
-};
-
-
-inline bool Void::operator ==(const Void& /*v*/) const
-{
- return true;
-}
-
-
-inline bool Void::operator !=(const Void& /*v*/) const
-{
- return false;
-}
-
-
-} // namespace Poco
-
-
-#endif // Foundation_Void_INCLUDED
+//
+// Void.h
+//
+// Library: Foundation
+// Package: Core
+// Module: Void
+//
+// Definition of the Void class.
+//
+// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
+// and Contributors.
+//
+// SPDX-License-Identifier: BSL-1.0
+//
+
+
+#ifndef Foundation_Void_INCLUDED
+#define Foundation_Void_INCLUDED
+
+
+#include "Poco/Foundation.h"
+
+
+namespace Poco {
+
+
+class Foundation_API Void
+ /// A dummy class with value-type semantics,
+ /// mostly useful as a template argument.
+ ///
+ /// This class is typically used together with ActiveMethod,
+ /// if no argument or return value is needed.
+{
+public:
+ Void();
+ /// Creates the Void.
+
+ Void(const Void& v);
+ /// Creates the Void from another Void.
+ ///
+ /// The philosophical aspects of this operation
+ /// remain undiscussed for now.
+
+ ~Void();
+ /// Destroys the Void.
+
+ Void& operator = (const Void& v);
+ /// Assigns another void.
+
+ bool operator ==(const Void& v) const;
+ /// Will return always true due to Voids having no members.
+
+ bool operator !=(const Void& v) const;
+ /// Will return always false due to Voids having no members.
+};
+
+
+inline bool Void::operator ==(const Void& /*v*/) const
+{
+ return true;
+}
+
+
+inline bool Void::operator !=(const Void& /*v*/) const
+{
+ return false;
+}
+
+
+} // namespace Poco
+
+
+#endif // Foundation_Void_INCLUDED