#ifndef icu4x_PluralOperands_D_HPP #define icu4x_PluralOperands_D_HPP #include #include #include #include #include #include #include "../diplomat_runtime.hpp" namespace icu4x { namespace capi { struct FixedDecimal; } class FixedDecimal; namespace capi { struct PluralOperands; } class PluralOperands; class FixedDecimalParseError; } namespace icu4x { namespace capi { struct PluralOperands; } // namespace capi } // namespace namespace icu4x { class PluralOperands { public: inline static diplomat::result, icu4x::FixedDecimalParseError> from_string(std::string_view s); inline static std::unique_ptr from_fixed_decimal(const icu4x::FixedDecimal& x); inline const icu4x::capi::PluralOperands* AsFFI() const; inline icu4x::capi::PluralOperands* AsFFI(); inline static const icu4x::PluralOperands* FromFFI(const icu4x::capi::PluralOperands* ptr); inline static icu4x::PluralOperands* FromFFI(icu4x::capi::PluralOperands* ptr); inline static void operator delete(void* ptr); private: PluralOperands() = delete; PluralOperands(const icu4x::PluralOperands&) = delete; PluralOperands(icu4x::PluralOperands&&) noexcept = delete; PluralOperands operator=(const icu4x::PluralOperands&) = delete; PluralOperands operator=(icu4x::PluralOperands&&) noexcept = delete; static void operator delete[](void*, size_t) = delete; }; } // namespace #endif // icu4x_PluralOperands_D_HPP