14namespace Azure {
namespace Core {
namespace _internal {
38 template <
class T>
class ExtendableEnumeration {
40 std::string m_enumerationValue;
43 ~ExtendableEnumeration() =
default;
51 explicit ExtendableEnumeration(std::string enumerationValue)
52 : m_enumerationValue(std::move(enumerationValue))
59 ExtendableEnumeration() =
default;
66 bool operator==(ExtendableEnumeration<T>
const& other)
const noexcept
68 return m_enumerationValue == other.m_enumerationValue;
76 bool operator!=(ExtendableEnumeration<T>
const& other)
const noexcept
85 std::string
const& ToString()
const {
return m_enumerationValue; }
Compute the hash value for the input binary data, using SHA256, SHA384 and SHA512.
Definition azure_assert.hpp:57
bool operator!=(DateTime const &dt, std::chrono::system_clock::time_point const &tp)
Compare a DateTime object with a std::chrono::system_clock::time_point object.
Definition datetime.hpp:230
bool operator==(DateTime const &dt, std::chrono::system_clock::time_point const &tp)
Compare a DateTime object with a std::chrono::system_clock::time_point object.
Definition datetime.hpp:212